summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authorThinkofdeath <thethinkofdeath@gmail.com>2014-02-06 21:59:20 +0000
committermd_5 <git@md-5.net>2017-11-17 10:23:20 +1100
commit685ed2eb9242a157c05ab0f0be8c103051a86ebb (patch)
tree5dc5cafee70fa1e66c95b501cfb0cca96e51e949 /nms-patches
parent9e23a80bc87188f0dd364a2ee1a6ad10603a7b20 (diff)
downloadcraftbukkit-685ed2eb9242a157c05ab0f0be8c103051a86ebb.tar
craftbukkit-685ed2eb9242a157c05ab0f0be8c103051a86ebb.tar.gz
craftbukkit-685ed2eb9242a157c05ab0f0be8c103051a86ebb.tar.lz
craftbukkit-685ed2eb9242a157c05ab0f0be8c103051a86ebb.tar.xz
craftbukkit-685ed2eb9242a157c05ab0f0be8c103051a86ebb.zip
Fix dispensing bone meal not having the correct data value
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/DispenserRegistry.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/DispenserRegistry.patch b/nms-patches/DispenserRegistry.patch
index bf0e83c3..5d7bba4e 100644
--- a/nms-patches/DispenserRegistry.patch
+++ b/nms-patches/DispenserRegistry.patch
@@ -304,7 +304,7 @@
+ // CraftBukkit start
+ org.bukkit.block.Block block = world.getWorld().getBlockAt(isourceblock.getBlockPosition().getX(), isourceblock.getBlockPosition().getY(), isourceblock.getBlockPosition().getZ());
-+ CraftItemStack craftItem = CraftItemStack.asNewCraftStack(itemstack.getItem());
++ CraftItemStack craftItem = CraftItemStack.asCraftMirror(itemstack);
+
+ BlockDispenseEvent event = new BlockDispenseEvent(block, craftItem.clone(), new org.bukkit.util.Vector(0, 0, 0));
+ if (!BlockDispenser.eventFired) {