3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-24 15:20:11 +01:00
Paper/nms-patches/BlockNetherWart.patch

12 Zeilen
523 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/BlockNetherWart.java
+++ b/net/minecraft/server/BlockNetherWart.java
2019-04-23 04:00:00 +02:00
@@ -28,7 +28,7 @@
if (i < 3 && random.nextInt(10) == 0) {
2018-12-06 00:00:00 +01:00
iblockdata = (IBlockData) iblockdata.set(BlockNetherWart.AGE, i + 1);
- world.setTypeAndData(blockposition, iblockdata, 2);
2018-07-15 02:00:00 +02:00
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, blockposition, iblockdata, 2); // CraftBukkit
}
2019-04-23 04:00:00 +02:00
super.tick(iblockdata, world, blockposition, random);