From 6f8c42d9ba051ce402244569704d525c4c263293 Mon Sep 17 00:00:00 2001 From: Robert Date: Fri, 6 Dec 2013 15:55:33 -0500 Subject: [PATCH] . --- src/dark/core/prefab/tilenetwork/fluid/NetworkPipes.java | 2 +- src/dark/fluid/common/prefab/TileEntityFluidNetworkTile.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dark/core/prefab/tilenetwork/fluid/NetworkPipes.java b/src/dark/core/prefab/tilenetwork/fluid/NetworkPipes.java index 0a74814f..949812b6 100644 --- a/src/dark/core/prefab/tilenetwork/fluid/NetworkPipes.java +++ b/src/dark/core/prefab/tilenetwork/fluid/NetworkPipes.java @@ -87,7 +87,7 @@ public class NetworkPipes extends NetworkFluidTiles { int fill = tankContainer.fill(dir, stack, false); - if (fill > 0 && fill > mostFill) + if (fill > mostFill) { tankToFill = tankContainer; mostFill = fill; diff --git a/src/dark/fluid/common/prefab/TileEntityFluidNetworkTile.java b/src/dark/fluid/common/prefab/TileEntityFluidNetworkTile.java index b19f3bea..bf2b5f7e 100644 --- a/src/dark/fluid/common/prefab/TileEntityFluidNetworkTile.java +++ b/src/dark/fluid/common/prefab/TileEntityFluidNetworkTile.java @@ -450,7 +450,7 @@ public abstract class TileEntityFluidNetworkTile extends TileEntityFluidDevice i { if (this.getTank() != null && index == 0) { - PacketHandler.instance().sendPacketToClients(PacketHandler.instance().getTilePacket(DarkMain.CHANNEL, this, "SingleTank", this.getTank().getCapacity(), this.getTank().writeToNBT(new NBTTagCompound()))); + PacketHandler.instance().sendPacketToClients(PacketHandler.instance().getTilePacket(DarkMain.CHANNEL, this, "SingleTank", this.getTank().getCapacity(), this.getTank().writeToNBT(new NBTTagCompound())), this.worldObj, new Vector3(this), 60); } }