mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Remove the drop.
This commit is contained in:
parent
9cc9eead52
commit
1b421a24b0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user