diff --git a/src/main/java/net/minecraft/server/BlockDispenser.java b/src/main/java/net/minecraft/server/BlockDispenser.java index 34665555dc..1debc7da63 100644 --- a/src/main/java/net/minecraft/server/BlockDispenser.java +++ b/src/main/java/net/minecraft/server/BlockDispenser.java @@ -132,8 +132,10 @@ public class BlockDispenser extends BlockContainer { return; } - // Actually remove the item - tileentitydispenser.splitStack(dispenseSlot, 1); + if (event.getItem().equals(bukkitItem)) { + // Actually remove the item + tileentitydispenser.splitStack(dispenseSlot, 1); + } motX = event.getVelocity().getX(); motY = event.getVelocity().getY();