mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-23 09:27:45 +01:00
SPIGOT-4050: Snow erasing block below it
This commit is contained in:
parent
6c944b2163
commit
c1d9f94223
@ -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 New Issue
Block a user