igentuman / EnderStorage-continuation

https://www.curseforge.com/minecraft/mc-mods/ender-storage-1-12-continuation
MIT License
3 stars 2 forks source link

Crash with Mekanism Community Edition and Universal Tweaks #13

Closed Redfire75369 closed 2 months ago

Redfire75369 commented 2 months ago

Crash Report: https://mclo.gs/vi9SB97 Only occurs with 2.6.1 on curseforge. Most likely caused by this commit: https://github.com/igentuman/EnderStorage-continuation/commit/33fed49a05f47eebb1c0967e5efd59469e65e9bf

Redfire75369 commented 2 months ago

https://github.com/igentuman/EnderStorage-continuation/blob/7e524845a6470cb85e78dce8e736daa90f57e724/src/main/java/codechicken/enderstorage/EnderStorage.java#L54 The config is only loaded in init, which is also where mekanism does its recipe searching, so the enableAutoCollectItem is uninitialised when mekanism checks, causing the crash.

Redfire75369 commented 2 months ago

Solved in https://github.com/igentuman/EnderStorage-continuation/commit/1c19007f8999550f0ccf52adfc6f20d9c68a820e