diff --git a/common/MysticWorld/Blocks/BlockPillarPlatform.java b/common/MysticWorld/Blocks/BlockPillarPlatform.java index ca13066..5269e4e 100644 --- a/common/MysticWorld/Blocks/BlockPillarPlatform.java +++ b/common/MysticWorld/Blocks/BlockPillarPlatform.java @@ -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 diff --git a/common/MysticWorld/MysticWorld.java b/common/MysticWorld/MysticWorld.java index e18127f..84678c7 100644 --- a/common/MysticWorld/MysticWorld.java +++ b/common/MysticWorld/MysticWorld.java @@ -16,7 +16,7 @@ import net.minecraft.block.Block; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.crafting.FurnaceRecipes; -import net.minecraft.client.resources.ResourceLocation; +import net.minecraft.util.ResourceLocation; import net.minecraft.world.WorldType; import net.minecraft.world.biome.BiomeGenBase; import net.minecraftforge.common.ChestGenHooks;