Why do I always do this? Fix unnecessary block udpate spam in KillerJoe

This commit is contained in:
tterrag1098 committed 2014-12-18 03:59:53 -05:00
1 parent a03225c412
commit 8315a6dfc0
1 file changed
+1
@@ -103,6 +103,7 @@ public class TileKillerJoe extends AbstractMachineEntity implements IFluidHandle
getAttackera().onUpdate();
if (inventory[0] != null != hadSword) {
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
hadSword = inventory[0] != null;
}
}
super.updateEntity();