aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/level/block/BlockNetherWart.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/level/block/BlockNetherWart.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/level/block/BlockNetherWart.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/level/block/BlockNetherWart.patch b/patch-remap/og/net/minecraft/world/level/block/BlockNetherWart.patch
new file mode 100644
index 0000000000..3e9f116ef7
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/level/block/BlockNetherWart.patch
@@ -0,0 +1,11 @@
+--- a/net/minecraft/world/level/block/BlockNetherWart.java
++++ b/net/minecraft/world/level/block/BlockNetherWart.java
+@@ -54,7 +54,7 @@
+
+ if (i < 3 && randomsource.nextInt(10) == 0) {
+ iblockdata = (IBlockData) iblockdata.setValue(BlockNetherWart.AGE, i + 1);
+- worldserver.setBlock(blockposition, iblockdata, 2);
++ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(worldserver, blockposition, iblockdata, 2); // CraftBukkit
+ }
+
+ }