summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockReed.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockReed.patch')
-rw-r--r--nms-patches/BlockReed.patch7
1 files changed, 3 insertions, 4 deletions
diff --git a/nms-patches/BlockReed.patch b/nms-patches/BlockReed.patch
index 5a84ef63..ab5e66ed 100644
--- a/nms-patches/BlockReed.patch
+++ b/nms-patches/BlockReed.patch
@@ -1,6 +1,6 @@
---- ../work/decompile-8eb82bde/net/minecraft/server/BlockReed.java 2014-12-11 00:44:17.804251801 +0000
-+++ src/main/java/net/minecraft/server/BlockReed.java 2014-12-11 00:43:36.504252249 +0000
-@@ -29,8 +29,13 @@
+--- /home/matt/mc-dev-private//net/minecraft/server/BlockReed.java 2015-02-26 22:40:22.243608143 +0000
++++ src/main/java/net/minecraft/server/BlockReed.java 2015-02-26 22:40:22.243608143 +0000
+@@ -29,8 +29,12 @@
int j = ((Integer) iblockdata.get(BlockReed.AGE)).intValue();
if (j == 15) {
@@ -11,7 +11,6 @@
+ org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockGrowEvent(world, upPos.getX(), upPos.getY(), upPos.getZ(), this, 0);
world.setTypeAndData(blockposition, iblockdata.set(BlockReed.AGE, Integer.valueOf(0)), 4);
+ // CraftBukkit end
-+
} else {
world.setTypeAndData(blockposition, iblockdata.set(BlockReed.AGE, Integer.valueOf(j + 1)), 4);
}