mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 02:01:44 +01:00
SPIGOT-4050: Snow erasing block below it
This commit is contained in:
parent
6c944b2163
commit
c1d9f94223
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue