Fix Reactor Ports, again

This commit is contained in:
aidancbrady 2016-07-19 13:35:48 -04:00
parent 6aa6591628
commit ceb1c37b00

View file

@ -84,10 +84,10 @@ public class TileEntityReactorPort extends TileEntityReactorBlock implements IFl
{ {
CableUtils.emit(this); CableUtils.emit(this);
if(fluidEject && getReactor() != null && getReactor().getSteamTank().getFluid() != null)
{
IFluidTank tank = getReactor().getSteamTank(); IFluidTank tank = getReactor().getSteamTank();
if(fluidEject && getReactor() != null && tank.getFluid() != null)
{
for(ForgeDirection side : ForgeDirection.VALID_DIRECTIONS) for(ForgeDirection side : ForgeDirection.VALID_DIRECTIONS)
{ {
TileEntity tile = Coord4D.get(this).getFromSide(side).getTileEntity(worldObj); TileEntity tile = Coord4D.get(this).getFromSide(side).getTileEntity(worldObj);