2015-05-25 12:37:24 +02:00
|
|
|
--- a/net/minecraft/server/BlockNetherWart.java
|
|
|
|
+++ b/net/minecraft/server/BlockNetherWart.java
|
2016-11-17 02:41:03 +01:00
|
|
|
@@ -31,7 +31,8 @@
|
2014-11-25 22:32:16 +01:00
|
|
|
|
|
|
|
if (i < 3 && random.nextInt(10) == 0) {
|
|
|
|
iblockdata = iblockdata.set(BlockNetherWart.AGE, Integer.valueOf(i + 1));
|
|
|
|
- world.setTypeAndData(blockposition, iblockdata, 2);
|
|
|
|
+ // world.setTypeAndData(blockposition, iblockdata, 2); // CraftBukkit
|
|
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, blockposition.getX(), blockposition.getY(), blockposition.getZ(), this, toLegacyData(iblockdata)); // CraftBukkit
|
|
|
|
}
|
|
|
|
|
|
|
|
super.b(world, blockposition, iblockdata, random);
|