Fixes
This commit is contained in:
parent
2d5b633168
commit
4316103022
3 changed files with 3 additions and 3 deletions
|
@ -119,7 +119,7 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
|
||||||
remaining--;
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -307,7 +307,7 @@ public class ItemConfigurator extends ItemEnergized implements IToolWrench
|
||||||
@Override
|
@Override
|
||||||
public boolean canWrench(EntityPlayer player, int x, int y, int z)
|
public boolean canWrench(EntityPlayer player, int x, int y, int z)
|
||||||
{
|
{
|
||||||
return true;
|
return !(player.worldObj.getBlockTileEntity(x, y, z) instanceof TileEntityBasicBlock);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -280,7 +280,7 @@ public class TileEntityMechanicalPipe extends TileEntityTransmitter<FluidNetwork
|
||||||
public boolean onSneakRightClick(EntityPlayer player, int side)
|
public boolean onSneakRightClick(EntityPlayer player, int side)
|
||||||
{
|
{
|
||||||
isActive = !isActive;
|
isActive = !isActive;
|
||||||
getTransmitterNetwork().refresh();
|
refreshTransmitterNetwork();
|
||||||
PacketHandler.sendPacket(Transmission.ALL_CLIENTS, new PacketTileEntity().setParams(Object3D.get(this), getNetworkedData(new ArrayList())));
|
PacketHandler.sendPacket(Transmission.ALL_CLIENTS, new PacketTileEntity().setParams(Object3D.get(this), getNetworkedData(new ArrayList())));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue