mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 07:02:18 -07:00
SPIGOT-4050: Snow erasing block below it
This commit is contained in:
@@ -324,7 +324,7 @@
|
|||||||
|
|
||||||
if (flag && biomebase.b(this, blockposition)) {
|
if (flag && biomebase.b(this, blockposition)) {
|
||||||
- this.setTypeUpdate(blockposition, Blocks.SNOW.getBlockData());
|
- 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) {
|
if (flag && this.getBiome(blockposition1).c() == BiomeBase.Precipitation.RAIN) {
|
||||||
|
Reference in New Issue
Block a user