From 2c8fcf816eda820c5dfedad730bbaba31503f86b Mon Sep 17 00:00:00 2001 From: ThisIsALegitUsername Date: Thu, 29 Dec 2022 03:11:05 +0000 Subject: [PATCH] Port norain --- src/main/java/net/minecraft/world/World.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minecraft/world/World.java b/src/main/java/net/minecraft/world/World.java index 97dd57f4..5a20be7c 100644 --- a/src/main/java/net/minecraft/world/World.java +++ b/src/main/java/net/minecraft/world/World.java @@ -5,15 +5,16 @@ import java.util.Calendar; import java.util.Collection; import java.util.Iterator; import java.util.List; -import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom; import java.util.Set; -import net.lax1dude.eaglercraft.v1_8.EaglercraftUUID; import java.util.concurrent.Callable; import com.google.common.base.Predicate; import com.google.common.collect.Lists; import com.google.common.collect.Sets; +import dev.resent.util.misc.W; +import net.lax1dude.eaglercraft.v1_8.EaglercraftRandom; +import net.lax1dude.eaglercraft.v1_8.EaglercraftUUID; import net.minecraft.block.Block; import net.minecraft.block.BlockHopper; import net.minecraft.block.BlockLiquid; @@ -1983,7 +1984,11 @@ public abstract class World implements IBlockAccess { */ protected void calculateInitialWeather() { if (this.worldInfo.isRaining()) { + if(W.noRain().isEnabled()){ + this.rainingStrength = 0; + }else { this.rainingStrength = 1.0F; + } if (this.worldInfo.isThundering()) { this.thunderingStrength = 1.0F; }