Fixed stuff. everything is cleaned up.
This commit is contained in:
parent
46a3343af2
commit
3d2c24fee3
2 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ public class BlockPillarPlatform extends Block {
|
|||
|
||||
private boolean isTowersNearby(World world, int x, int y, int z)
|
||||
{
|
||||
int block = BlockHandler.pillarTower.blockID;
|
||||
int block = BlockHandler.pillar.blockID;
|
||||
|
||||
if (world.getBlockId(x - 2, y, z - 2) == block && world.getBlockId(x - 2, y, z + 2) == block && world.getBlockId(x + 2, y, z + 2) == block && world.getBlockId(x + 2, y, z - 2) == block
|
||||
&& world.getBlockId(x - 2, y + 1, z - 2) == block && world.getBlockId(x - 2, y + 1, z + 2) == block && world.getBlockId(x + 2, y + 1, z + 2) == block && world.getBlockId(x + 2, y + 1, z - 2) == block
|
||||
|
|
|
|||
Loading…
Reference in a new issue