summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockChorusFlower.patch
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2016-03-01 21:42:59 +0000
committerThinkofdeath <thinkofdeath@spigotmc.org>2016-03-01 21:42:59 +0000
commitf8e38f2d9f6c44cc1a90463eceb243d370973330 (patch)
tree963b48f3131741a54ae5416511ce642ef7f99201 /nms-patches/BlockChorusFlower.patch
parent1be3bd058faf4fc0f2a351e92a99786e53f770b9 (diff)
downloadcraftbukkit-f8e38f2d9f6c44cc1a90463eceb243d370973330.tar
craftbukkit-f8e38f2d9f6c44cc1a90463eceb243d370973330.tar.gz
craftbukkit-f8e38f2d9f6c44cc1a90463eceb243d370973330.tar.lz
craftbukkit-f8e38f2d9f6c44cc1a90463eceb243d370973330.tar.xz
craftbukkit-f8e38f2d9f6c44cc1a90463eceb243d370973330.zip
Fix chorus plants only straight growing up
Diffstat (limited to 'nms-patches/BlockChorusFlower.patch')
-rw-r--r--nms-patches/BlockChorusFlower.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/BlockChorusFlower.patch b/nms-patches/BlockChorusFlower.patch
index 3ef5e834..c4a0d9d5 100644
--- a/nms-patches/BlockChorusFlower.patch
+++ b/nms-patches/BlockChorusFlower.patch
@@ -18,7 +18,7 @@
+ // world.setTypeAndData(blockposition, Blocks.CHORUS_PLANT.getBlockData(), 2);
+ // this.a(world, blockposition1, i);
+ // CraftBukkit start - add event
-+ BlockPosition target = blockposition.up();
++ BlockPosition target = blockposition1;
+ if (CraftEventFactory.handleBlockSpreadEvent(
+ world.getWorld().getBlockAt(target.getX(), target.getY(), target.getZ()),
+ world.getWorld().getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ()),
@@ -40,7 +40,7 @@
- flag2 = true;
+ // CraftBukkit start - add event
+ // this.a(world, blockposition2, i + 1);
-+ BlockPosition target = blockposition1;
++ BlockPosition target = blockposition2;
+ if (CraftEventFactory.handleBlockSpreadEvent(
+ world.getWorld().getBlockAt(target.getX(), target.getY(), target.getZ()),
+ world.getWorld().getBlockAt(blockposition.getX(), blockposition.getY(), blockposition.getZ()),