mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix hardcoded precipitation in ClimateSettingsBuilder (#9402)
This effectively caused all biomes to have precipitation, such as minecraft:desert. Fixes #9397
This commit is contained in:
1 parent
3cd758647d
commit
73e68c9322
1 file changed
+1
-2
@@ -6,7 +6,6 @@
|
||||
package net.minecraftforge.common.world;
|
||||
|
||||
import net.minecraft.world.level.biome.Biome.ClimateSettings;
|
||||
import net.minecraft.world.level.biome.Biome.Precipitation;
|
||||
import net.minecraft.world.level.biome.Biome.TemperatureModifier;
|
||||
|
||||
/**
|
||||
@@ -56,7 +55,7 @@ public class ClimateSettingsBuilder
|
||||
*/
|
||||
public ClimateSettings build()
|
||||
{
|
||||
return new ClimateSettings(true, this.temperature, this.temperatureModifier, this.downfall);
|
||||
return new ClimateSettings(this.hasPrecipitation, this.temperature, this.temperatureModifier, this.downfall);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user