Fixed block placement checks

This commit is contained in:
aidancbrady 2016-04-21 23:36:02 -04:00
parent 4789235ac0
commit 5c495de348
4 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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);

View file

@ -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);

View file

@ -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);