From 1b421a24b0e51f62ab2d03cf8624d36ff5f5219f Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 9 Apr 2013 21:44:27 -0400 Subject: [PATCH] Remove the drop. --- src/main/java/com/gmail/nossr50/listeners/PlayerListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java index dacd473f6..4af330f3c 100644 --- a/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/PlayerListener.java @@ -236,6 +236,7 @@ public class PlayerListener implements Listener { ItemStack itemstack = iterator.next(); if (itemstack == null) { + drop.remove(); inventory.setItem(nextSlot, dropStack); player.updateInventory(); event.setCancelled(true);