3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-28 00:50:08 +01:00
Paper/nms-patches/BlockGrass.patch

12 Zeilen
541 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/BlockGrass.java
+++ b/net/minecraft/server/BlockGrass.java
2019-04-23 04:00:00 +02:00
@@ -61,7 +61,7 @@
2018-08-26 04:00:00 +02:00
}
2018-08-26 04:00:00 +02:00
if (iblockdata3.canPlace(world, blockposition2)) {
- world.setTypeAndData(blockposition2, iblockdata3, 3);
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, blockposition2, iblockdata3, 3); // CraftBukkit
}
}
}