This commit is contained in:
Robert 2013-12-06 15:55:33 -05:00
parent 09484b5ee2
commit 6f8c42d9ba
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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);
}
}