SPIGOT-4050: Snow erasing block below it

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2018-07-19 15:44:55 +10:00
parent 9f6ea503ec
commit 3b128c5dbf

View file

@ -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.SNOW.getBlockData(), null); // CraftBukkit
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockFormEvent(this, blockposition, Blocks.SNOW.getBlockData(), null); // CraftBukkit
}
if (flag && this.getBiome(blockposition1).c() == BiomeBase.Precipitation.RAIN) {