.
This commit is contained in:
parent
09484b5ee2
commit
6f8c42d9ba
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue