Remove the drop.

This commit is contained in:
GJ 2013-04-09 21:44:27 -04:00
parent 9cc9eead52
commit 1b421a24b0

View File

@ -236,6 +236,7 @@ public class PlayerListener implements Listener {
ItemStack itemstack = iterator.next(); ItemStack itemstack = iterator.next();
if (itemstack == null) { if (itemstack == null) {
drop.remove();
inventory.setItem(nextSlot, dropStack); inventory.setItem(nextSlot, dropStack);
player.updateInventory(); player.updateInventory();
event.setCancelled(true); event.setCancelled(true);