diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Item.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Item.java index 43238d739..bf55717e3 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Item.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/Item.java @@ -169,6 +169,10 @@ public class Item implements Bundlable { public boolean collect( Bag container ) { + if (quantity <= 0){ + return true; + } + ArrayList items = container.items; for (Item item:items) {