Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/ By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
12
paper-server/nms-patches/BlockNetherWart.patch
Normal file
12
paper-server/nms-patches/BlockNetherWart.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- ../work/decompile-bb26c12b/net/minecraft/server/BlockNetherWart.java 2014-11-27 08:59:46.549422516 +1100
|
||||
+++ src/main/java/net/minecraft/server/BlockNetherWart.java 2014-11-27 08:42:10.140850934 +1100
|
||||
@@ -28,7 +28,8 @@
|
||||
|
||||
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);
|
||||
Reference in New Issue
Block a user