Just Enough Resources (JER)

Just Enough Resources (JER)

163M Downloads

NPE from FakeClientWorld

LuminescentMoon opened this issue ยท 2 comments

commented

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:

commented

Closing old version issues, profiling needs to be rewritten for 1.19+ anyways

commented

Will have to rewrite profiling for newer versions, leaving this open as a reminder.