Archiviert
13
0

SPIGOT-4006: ICE rather than SNOW forming in some biomes

Dieser Commit ist enthalten in:
md_5 2018-07-16 08:53:29 +10:00
Ursprung 10261f31d7
Commit 82ca5c2740

Datei anzeigen

@ -324,7 +324,7 @@
if (flag && biomebase.b(this, blockposition)) {
- this.setTypeUpdate(blockposition, Blocks.SNOW.getBlockData());
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(this, blockposition1, Blocks.ICE.getBlockData(), null); // CraftBukkit
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(this, blockposition1, Blocks.SNOW.getBlockData(), null); // CraftBukkit
}
if (flag && this.getBiome(blockposition1).c() == BiomeBase.Precipitation.RAIN) {