diff --git a/src/main/java/forestry/farming/multiblock/FarmController.java b/src/main/java/forestry/farming/multiblock/FarmController.java index e80b6347a..2c797a1ea 100644 --- a/src/main/java/forestry/farming/multiblock/FarmController.java +++ b/src/main/java/forestry/farming/multiblock/FarmController.java @@ -275,7 +275,7 @@ public class FarmController extends RectangularMultiblockControllerBase implemen @Override protected boolean updateServer(int tickCount) { - hydrationManager.updateServer(worldObj); + hydrationManager.updateServer(worldObj, getBiome()); if (updateOnInterval(20)) { inventory.drainCan(tankManager); diff --git a/src/main/java/forestry/farming/multiblock/FarmHydrationManager.java b/src/main/java/forestry/farming/multiblock/FarmHydrationManager.java index 9078db1cc..8f0326031 100644 --- a/src/main/java/forestry/farming/multiblock/FarmHydrationManager.java +++ b/src/main/java/forestry/farming/multiblock/FarmHydrationManager.java @@ -14,7 +14,9 @@ import java.io.IOException; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.world.World; +import net.minecraft.world.biome.BiomeGenBase; +import forestry.api.core.BiomeHelper; import forestry.api.core.INBTTagable; import forestry.core.network.DataInputStreamForestry; import forestry.core.network.DataOutputStreamForestry; @@ -35,8 +37,8 @@ public class FarmHydrationManager implements IFarmLedgerDelegate, INBTTagable, I this.climatised = climatised; } - public void updateServer(World world) { - if (world.isRaining()) { + public void updateServer(World world, BiomeGenBase biome) { + if (world.isRaining() && BiomeHelper.canRainOrSnow(biome)) { if (hydrationDelay > 0) { hydrationDelay--; } else {