#883 Crash when opening Killer Joe GUI SMP

This commit is contained in:
CrazyPants committed 2014-08-17 01:13:57 +08:00
1 parent f1d0c916d2
commit a46a155e27
1 file changed
-10
@@ -115,14 +115,6 @@ public class TileKillerJoe extends AbstractMachineEntity implements IFluidHandle
return 0;
}
@Override
public void setInventorySlotContents(int slot, ItemStack contents) {
super.setInventorySlotContents(slot, contents);
if(slot == 0) {
getAttackera().inventory.setInventorySlotContents(0, contents);
}
}
@Override
public void updateEntity() {
updateArmSwingProgress();
@@ -141,8 +133,6 @@ public class TileKillerJoe extends AbstractMachineEntity implements IFluidHandle
return false;
}
//addExperience(1);
if(tanksDirty) {
PacketHandler.sendToAllAround(new PacketNutrientLevel(this), this);
tanksDirty = false;