Drop upgrades when machine is broken, shift right-click to add into machine.
This commit is contained in:
parent
d9af8309b1
commit
1c1f540a26
5 changed files with 71 additions and 2 deletions
|
@ -75,6 +75,7 @@ public class GuiSideConfig extends GuiBase {
|
|||
protected void actionPerformed(GuiButton button) throws IOException {
|
||||
super.actionPerformed(button);
|
||||
NetworkManager.sendToServer(new PacketSyncSideConfig(slotID, button.id, tileEntity.getPos()));
|
||||
Minecraft.getMinecraft().displayGuiScreen(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue