Paper/nms-patches/BlockNetherWart.patch

12 Zeilen
479 B
Diff

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