use of pneumaticCraft.common.network.PacketProgrammerUpdate in project PneumaticCraft by MineMaarten.
the class GuiProgWidgetOptionBase method keyTyped.
@Override
public void keyTyped(char key, int keyCode) {
super.keyTyped(key, keyCode);
if (keyCode == 1) {
onGuiClosed();
if (guiProgrammer != null) {
NetworkHandler.sendToServer(new PacketProgrammerUpdate(guiProgrammer.te));
mc.displayGuiScreen(guiProgrammer);
}
}
}
Aggregations