Fixed block placement checks
This commit is contained in:
parent
4789235ac0
commit
5c495de348
4 changed files with 4 additions and 4 deletions
|
@ -487,7 +487,7 @@ public class BlockBasic extends Block implements IBlockCTM, ICustomBlockIcon
|
||||||
|
|
||||||
if(world.isRemote)
|
if(world.isRemote)
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(tile instanceof TileEntityThermalEvaporationController)
|
if(tile instanceof TileEntityThermalEvaporationController)
|
||||||
|
|
|
@ -156,7 +156,7 @@ public class BlockEnergyCube extends BlockContainer
|
||||||
{
|
{
|
||||||
if(world.isRemote)
|
if(world.isRemote)
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
TileEntityEnergyCube tileEntity = (TileEntityEnergyCube)world.getTileEntity(x, y, z);
|
TileEntityEnergyCube tileEntity = (TileEntityEnergyCube)world.getTileEntity(x, y, z);
|
||||||
|
|
|
@ -103,7 +103,7 @@ public class BlockGasTank extends BlockContainer
|
||||||
{
|
{
|
||||||
if(world.isRemote)
|
if(world.isRemote)
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
TileEntityGasTank tileEntity = (TileEntityGasTank)world.getTileEntity(x, y, z);
|
TileEntityGasTank tileEntity = (TileEntityGasTank)world.getTileEntity(x, y, z);
|
||||||
|
|
|
@ -558,7 +558,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IBlo
|
||||||
{
|
{
|
||||||
if(world.isRemote)
|
if(world.isRemote)
|
||||||
{
|
{
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
TileEntityBasicBlock tileEntity = (TileEntityBasicBlock)world.getTileEntity(x, y, z);
|
TileEntityBasicBlock tileEntity = (TileEntityBasicBlock)world.getTileEntity(x, y, z);
|
||||||
|
|
Loading…
Reference in a new issue