Fixes #420
This commit is contained in:
parent
cd8de44e79
commit
8261384cdd
1 changed files with 1 additions and 1 deletions
|
@ -158,9 +158,9 @@ public class TileThermalGenerator extends TilePowerAcceptor implements IWrenchab
|
||||||
public void updateEntity()
|
public void updateEntity()
|
||||||
{
|
{
|
||||||
super.updateEntity();
|
super.updateEntity();
|
||||||
FluidUtils.drainContainers(this, inventory, 0, 1);
|
|
||||||
if (!worldObj.isRemote)
|
if (!worldObj.isRemote)
|
||||||
{
|
{
|
||||||
|
FluidUtils.drainContainers(this, inventory, 0, 1);
|
||||||
for (EnumFacing direction : EnumFacing.values())
|
for (EnumFacing direction : EnumFacing.values())
|
||||||
{
|
{
|
||||||
if (worldObj.getBlockState(new BlockPos(getPos().getX() + direction.getFrontOffsetX(),
|
if (worldObj.getBlockState(new BlockPos(getPos().getX() + direction.getFrontOffsetX(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue