#981 Performance decrease using redstone conduits.

This commit is contained in:
CrazyPants committed 2014-09-07 19:27:30 +08:00
1 parent ac8e5d633c
commit 8329fc1eef
6 files changed
+31 -1

No files matched your search

@@ -613,7 +613,7 @@ public class BlockConduitBundle extends BlockEio implements IGuiHandler {
public void onNeighborChange(IBlockAccess world, int x, int y, int z, int tileX, int tileY, int tileZ) {
TileEntity conduit = world.getTileEntity(x, y, z);
if(conduit instanceof IConduitBundle) {
((IConduitBundle) conduit).onNeighborBlockChange(world.getBlock(tileX, tileY, tileZ));
((IConduitBundle) conduit).onNeighborChange(world, x, y, z, tileX, tileY, tileZ);
}
}