Port norain
This commit is contained in:
parent
579946bad5
commit
2c8fcf816e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user