From 8ef17ecbc957820bde3991be584855eed06a170b Mon Sep 17 00:00:00 2001 From: MysteriousAges Date: Thu, 18 Jun 2015 13:05:37 -0700 Subject: [PATCH] Removed reference to internal Forestry method. (Bad Myst! Go to your corner.) --- src/main/java/magicbees/tileentity/TileEntityMagicApiary.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/magicbees/tileentity/TileEntityMagicApiary.java b/src/main/java/magicbees/tileentity/TileEntityMagicApiary.java index 08a84b9..821ed04 100644 --- a/src/main/java/magicbees/tileentity/TileEntityMagicApiary.java +++ b/src/main/java/magicbees/tileentity/TileEntityMagicApiary.java @@ -41,7 +41,6 @@ import forestry.api.core.EnumTemperature; import forestry.api.core.ErrorStateRegistry; import forestry.api.core.IErrorState; import forestry.api.genetics.IIndividual; -import forestry.core.utils.Utils; public class TileEntityMagicApiary extends TileEntity implements ISidedInventory, IBeeHousing, ITileEntityAuraCharged { @@ -569,7 +568,7 @@ public class TileEntityMagicApiary extends TileEntity implements ISidedInventory public void updateBiome() { if (worldObj != null) { if (biome == null) { - BiomeGenBase biome = Utils.getBiomeAt(worldObj, xCoord, yCoord); + BiomeGenBase biome = worldObj.getBiomeGenForCoordsBody(xCoord, zCoord); if (biome != null) { this.biome = biome; setErrorState(ErrorStateRegistry.getErrorState("OK"));