NPE from FakeClientWorld
LuminescentMoon opened this issue ยท 2 comments
FakeClientWorld does not initialize World.mapStorage
field, leading to unexpected NPEs when other mods try to use the result of World.getMapStorage
.
One solution would be to initialize mapStorage
before calling ForgeEventFactory.gatherCapabilities. Note that an access transformer is necessary as World.mapStorage
is marked protected
.
Related issues from StellarSky:
Closing old version issues, profiling needs to be rewritten for 1.19+ anyways