CleanroomMC/GroovyScript

NPE with Integrated Dynamics when reloading and having Machines disabled via config

Closed this issue · 0 comments

Integrated Dynamics has a config option to stop various blocks of the mod from registering. This causes a NPE when reloading the recipe registry and GroovyScript is unable to find the Integrated Dynamics Machines.

java.lang.NullPointerException
		at com.cleanroommc.groovyscript.compat.mods.integrateddynamics.MechanicalSqueezer.onReload(MechanicalSqueezer.java:23)
		at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
		at java.util.Iterator.forEachRemaining(Iterator.java:116)