Fixed Heat Collector behaving stupidly

This commit is contained in:
Ellpeck 2015-10-31 17:14:56 +01:00
parent 3ef3696ac3
commit 5e5173cf54

View file

@ -52,9 +52,10 @@ public class TileEntityHeatCollector extends TileEntityBase implements IEnergyPr
WorldUtil.breakBlockAtSide(WorldUtil.getDirectionBySidesInOrder(randomSide), worldObj, xCoord, yCoord, zCoord);
}
}
if(this.getEnergyStored(ForgeDirection.UNKNOWN) > 0){
WorldUtil.pushEnergy(worldObj, xCoord, yCoord, zCoord, ForgeDirection.UP, this.storage);
}
}
if(this.getEnergyStored(ForgeDirection.UNKNOWN) > 0){
WorldUtil.pushEnergy(worldObj, xCoord, yCoord, zCoord, ForgeDirection.UP, this.storage);
}
}
}