NullPointerException when accessing MachineDefinition.asStack() in GTCreativeModeTabs
pen787 opened this issue ยท 6 comments
GregTech CEu Version
1.0.1.1.b-build_171
Recipe Viewer Installed
REI
Environment
Singleplayer
Cross-Mod Interaction
Unsure
Expected Behavior
Not Crash.
Actual Behavior
Crash when open the gregtech machine creative tab.
Steps to Reproduce
- Open the gregtech machine creative tabs.
Additional Information
I knew i missed something when doing that change.
closed by #359 (once i commit the fix)
Just change
public static LDLItemGroup MACHINE = new LDLItemGroup(GTCEu.MOD_ID, "machine", () -> GTMachines.ELECTROLYZER[LV].asStack());