Fix MapGenStructure saving data globally rather than per world#177
Conversation
…ng structures from certain mods to spawn in the wrong dimensions
|
Thanks Mellow!! |
|
My compat code in NTM: Space to fix this issue is causing crashes with other mods, due to using an access transformer on a private method in order to override it (which does not like being mixin'ed). This being merged and put into a release would solve me a lot of headaches! Is this project still maintained? |
|
PR merged into my branch RetroForge#3 |
Try with gravit0 fork RetroForge#3 If it works there, i will be merging this pr |
Gave it a go, works as expected! |

In NTM: Space, NBT structure generation (backported from modern jigsaw structure gen) would spawn structures in all dimensions due to the world save data NBT being stored in global storage rather than per world storage, which is a regression from the Forge patch which changes that behaviour. This PR restores the expected Forge patch behaviour.