[SPIGOT-6440] Initial world-seeds are sometimes wrong Created: 28/Apr/21 Updated: 08/Aug/21 Resolved: 08/Aug/21 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Sebastian Diers | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | bug, spigot, world |
Attachments: |
![]() |
Version: | 1.16.5 |
Guidelines Read: | Yes |
Description |
In the 1.16.5-builds it happens, that the seed of a initially created world changes after a reload. This leads to currupted chunks.
The issue appears to be specially a problem with custom-worldgenerators when extending the ChunkGenerator and using the method generateChunkData to place blocks. Inside this method we use world.getSeed() to get the seed. |
Comments |
Comment by Marvin Rieple [ 08/Aug/21 ] |
Cannot reproduce on 1.17.1 or 1.16.5. A test Plugin + more detailed steps on how to reproduce would be helpful. |
Comment by md_5 [ 07/Jun/21 ] |
You can share the fix via abpull request, Spigot is open source |
Comment by Sebastian Diers [ 07/Jun/21 ] |
What about this now?! The issue comes up more often as more servers use newer versions. The issue is also clear: The seed saved in the World-Object after creation is not the same as in the level.dat, where it is later laoded from. We still await a fix and many users, too.
We can also fix this on our own, but this would not solve the issue in general for all spigot users/spigot customgenerators. |
Comment by Sebastian Diers [ 28/Apr/21 ] |
As mentioned: Basically any custom worldgenerator on 1.16.5. Make a fresh world, reload the server and fly a bit. If needed I can make a test-plugin.
Kind regards, Sebastian Diers |
Comment by md_5 [ 28/Apr/21 ] |
How to reproduce? |