BuildCraft|Core

BuildCraft|Core

7M Downloads

NPE in gate (pipe states; input/output only, opened/closed)

rapus95 opened this issue ยท 0 comments

commented

When you click an empty slot to the right of such a state, like here:
2016-05-25_19 23 57
then you get a NPE:

java.lang.NullPointerException: Updating screen events
    at buildcraft.core.statements.StatementParameterDirection.onClick(StatementParameterDirection.java:67)
    at buildcraft.transport.gui.GuiGateInterface.doSlotClick(GuiGateInterface.java:474)
    at buildcraft.transport.gui.GuiGateInterface.func_73864_a(GuiGateInterface.java:493)
    at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:555)
    at buildcraft.transport.gui.GuiGateInterface.func_146274_d(GuiGateInterface.java:537)
    at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:524)
    at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1674)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1024)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:349)
    at net.minecraft.client.main.Main.main(SourceFile:124)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)