This commit is contained in:
Aidan Brady 2013-12-12 21:35:17 -05:00
parent 2d5b633168
commit 4316103022
3 changed files with 3 additions and 3 deletions

View file

@ -119,7 +119,7 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
remaining--;
}
fluidSent += acceptor.fill(acceptorDirections.get(acceptor), new FluidStack(fluidToSend.fluidID, currentSending), doTransfer);
fluidSent += acceptor.fill(acceptorDirections.get(acceptor).getOpposite(), new FluidStack(fluidToSend.fluidID, currentSending), doTransfer);
}
}
}

View file

@ -307,7 +307,7 @@ public class ItemConfigurator extends ItemEnergized implements IToolWrench
@Override
public boolean canWrench(EntityPlayer player, int x, int y, int z)
{
return true;
return !(player.worldObj.getBlockTileEntity(x, y, z) instanceof TileEntityBasicBlock);
}
@Override

View file

@ -280,7 +280,7 @@ public class TileEntityMechanicalPipe extends TileEntityTransmitter<FluidNetwork
public boolean onSneakRightClick(EntityPlayer player, int side)
{
isActive = !isActive;
getTransmitterNetwork().refresh();
refreshTransmitterNetwork();
PacketHandler.sendPacket(Transmission.ALL_CLIENTS, new PacketTileEntity().setParams(Object3D.get(this), getNetworkedData(new ArrayList())));
return true;