diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBag.java b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBag.java index 8ef4fcda6..70a3be6a2 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBag.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBag.java @@ -61,6 +61,10 @@ public class ItemBag extends ItemBase{ @SubscribeEvent public void onItemPickup(EntityItemPickupEvent event){ + if(event.isCanceled() || event.getResult() == Event.Result.ALLOW){ + return; + } + EntityPlayer player = event.getEntityPlayer(); EntityItem item = event.getItem(); if(item != null && !item.isDead){