fix bug that occurs with changing redstone setting

This commit is contained in:
Raoul Van den Berge
2016-01-27 15:14:09 +01:00
parent b3b8440268
commit 8b450709cd
7 changed files with 35 additions and 12 deletions

View File

@@ -70,6 +70,18 @@ public abstract class TileMachine extends TileBase implements INetworkTile, IRed
}
}
@Override
public BlockPos getMachinePos()
{
return pos;
}
@Override
public BlockPos getTilePos()
{
return pos;
}
public TileController getController()
{
return (TileController) worldObj.getTileEntity(controllerPos);