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