summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2014-12-27 14:24:17 +0000
committerThinkofdeath <thinkofdeath@spigotmc.org>2014-12-27 14:24:17 +0000
commitc2c8dda5654977e9e94ce3dab0d2dfac2651e743 (patch)
tree98480f52bf9beff2309d8dcd37aeb91bb6948021
parentc76552e4a5f02e7f74ef594cf081fc5d7238acdb (diff)
downloadcraftbukkit-c2c8dda5654977e9e94ce3dab0d2dfac2651e743.tar
craftbukkit-c2c8dda5654977e9e94ce3dab0d2dfac2651e743.tar.gz
craftbukkit-c2c8dda5654977e9e94ce3dab0d2dfac2651e743.tar.lz
craftbukkit-c2c8dda5654977e9e94ce3dab0d2dfac2651e743.tar.xz
craftbukkit-c2c8dda5654977e9e94ce3dab0d2dfac2651e743.zip
.-.
-rw-r--r--nms-patches/DispenseBehaviorCommandBlock.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nms-patches/DispenseBehaviorCommandBlock.patch b/nms-patches/DispenseBehaviorCommandBlock.patch
new file mode 100644
index 00000000..479f5986
--- /dev/null
+++ b/nms-patches/DispenseBehaviorCommandBlock.patch
@@ -0,0 +1,11 @@
+--- ../work/decompile-8eb82bde//net/minecraft/server/DispenseBehaviorCommandBlock.java 2014-12-27 14:19:29.609280038 +0000
++++ src/main/java/net/minecraft/server/DispenseBehaviorCommandBlock.java 2014-12-27 14:19:29.609280038 +0000
+@@ -8,7 +8,7 @@
+ World world = isourceblock.i();
+ BlockPosition blockposition = isourceblock.getBlockPosition().shift(BlockDispenser.b(isourceblock.f()));
+
+- if (world.isEmpty(blockposition)) {
++ if (world.isEmpty(blockposition) && false) { // Craftbukkit - yeah... no
+ if (!world.isStatic) {
+ IBlockData iblockdata = Blocks.COMMAND_BLOCK.getBlockData().set(BlockCommand.TRIGGERED, Boolean.valueOf(false));
+