mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-23 17:37:45 +01:00
12 lines
541 B
Diff
12 lines
541 B
Diff
--- a/net/minecraft/server/BlockNetherWart.java
|
|
+++ b/net/minecraft/server/BlockNetherWart.java
|
|
@@ -28,7 +28,7 @@
|
|
|
|
if (i < 3 && random.nextInt(10) == 0) {
|
|
iblockdata = (IBlockData) iblockdata.set(BlockNetherWart.AGE, i + 1);
|
|
- worldserver.setTypeAndData(blockposition, iblockdata, 2);
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(worldserver, blockposition, iblockdata, 2); // CraftBukkit
|
|
}
|
|
|
|
super.tick(iblockdata, worldserver, blockposition, random);
|