Drop upgrades when machine is broken, shift right-click to add into machine.

This commit is contained in:
modmuss50 2017-04-12 18:31:26 +01:00
parent d9af8309b1
commit 1c1f540a26
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
5 changed files with 71 additions and 2 deletions

View file

@ -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