Removed reference to internal Forestry method. (Bad Myst! Go to your corner.)

This commit is contained in:
MysteriousAges committed 2015-06-18 13:05:37 -07:00
1 parent b43137e399
commit 8ef17ecbc9
1 file changed
+1 -2
@@ -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"));