mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 20:22:12 +00:00
Why do I always do this? Fix unnecessary block udpate spam in KillerJoe
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user