From 805b632818aa80006933002b46c2f1f28dd75c70 Mon Sep 17 00:00:00 2001 From: DarkGuardsman Date: Thu, 11 Jul 2013 04:40:38 -0400 Subject: [PATCH] slight network change --- src/minecraft/dark/fluid/common/machines/BlockTank.java | 4 ++-- .../dark/fluid/common/machines/TileEntityTank.java | 6 +++--- src/minecraft/dark/fluid/common/pipes/BlockPipe.java | 4 ++-- src/minecraft/dark/fluid/common/pipes/TileEntityPipe.java | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/minecraft/dark/fluid/common/machines/BlockTank.java b/src/minecraft/dark/fluid/common/machines/BlockTank.java index d97e2983f..137c0312d 100644 --- a/src/minecraft/dark/fluid/common/machines/BlockTank.java +++ b/src/minecraft/dark/fluid/common/machines/BlockTank.java @@ -155,7 +155,7 @@ public class BlockTank extends BlockMachine if (tileEntity instanceof INetworkPart) { - ((INetworkPart) tileEntity).updateNetworkConnections(); + ((INetworkPart) tileEntity).refresh(); } } @@ -166,7 +166,7 @@ public class BlockTank extends BlockMachine if (tileEntity instanceof INetworkPart) { - ((INetworkPart) tileEntity).updateNetworkConnections(); + ((INetworkPart) tileEntity).refresh(); } } diff --git a/src/minecraft/dark/fluid/common/machines/TileEntityTank.java b/src/minecraft/dark/fluid/common/machines/TileEntityTank.java index d4413f0b9..55f6c469e 100644 --- a/src/minecraft/dark/fluid/common/machines/TileEntityTank.java +++ b/src/minecraft/dark/fluid/common/machines/TileEntityTank.java @@ -56,7 +56,7 @@ public class TileEntityTank extends TileEntityFluidStorage implements IFluidHand @Override public void initiate() { - this.updateNetworkConnections(); + this.refresh(); } @Override @@ -67,7 +67,7 @@ public class TileEntityTank extends TileEntityFluidStorage implements IFluidHand { if (ticks % ((int) random.nextInt(5) * 40 + 20) == 0) { - this.updateNetworkConnections(); + this.refresh(); } } } @@ -222,7 +222,7 @@ public class TileEntityTank extends TileEntityFluidStorage implements IFluidHand } @Override - public void updateNetworkConnections() + public void refresh() { if (this.worldObj != null && !this.worldObj.isRemote) diff --git a/src/minecraft/dark/fluid/common/pipes/BlockPipe.java b/src/minecraft/dark/fluid/common/pipes/BlockPipe.java index 879ab7f2e..16a946c34 100644 --- a/src/minecraft/dark/fluid/common/pipes/BlockPipe.java +++ b/src/minecraft/dark/fluid/common/pipes/BlockPipe.java @@ -64,7 +64,7 @@ public class BlockPipe extends BlockMachine if (tileEntity instanceof INetworkPipe) { - ((INetworkPipe) tileEntity).updateNetworkConnections(); + ((INetworkPipe) tileEntity).refresh(); } } @@ -75,7 +75,7 @@ public class BlockPipe extends BlockMachine if (tileEntity instanceof INetworkPipe) { - ((INetworkPipe) tileEntity).updateNetworkConnections(); + ((INetworkPipe) tileEntity).refresh(); } } diff --git a/src/minecraft/dark/fluid/common/pipes/TileEntityPipe.java b/src/minecraft/dark/fluid/common/pipes/TileEntityPipe.java index fa6d331db..ad5543fda 100644 --- a/src/minecraft/dark/fluid/common/pipes/TileEntityPipe.java +++ b/src/minecraft/dark/fluid/common/pipes/TileEntityPipe.java @@ -71,7 +71,7 @@ public class TileEntityPipe extends TileEntityAdvanced implements IFluidHandler, @Override public void initiate() { - this.updateNetworkConnections(); + this.refresh(); if (this.subEntities[0] == null) { // this.addNewExtention(0, TileEntityPipeWindow.class); @@ -102,7 +102,7 @@ public class TileEntityPipe extends TileEntityAdvanced implements IFluidHandler, { if (ticks % ((int) random.nextInt(5) * 40 + 20) == 0) { - this.updateNetworkConnections(); + this.refresh(); } if (ticks % ((int) random.nextInt(5) * 60 + 20) == 0) { @@ -466,7 +466,7 @@ public class TileEntityPipe extends TileEntityAdvanced implements IFluidHandler, } @Override - public void updateNetworkConnections() + public void refresh() { if (this.worldObj != null && !this.worldObj.isRemote)