diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java index 470169551..049146032 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/Dungeon.java @@ -614,9 +614,10 @@ public class Dungeon { droppedItems = new SparseArray>(); for (int i=2; i <= Statistics.deepestFloor + 1; i++) { ArrayList dropped = new ArrayList(); - for (Bundlable b : bundle.getCollection( Messages.format( DROPPED, i ) ) ) { - dropped.add( (Item)b ); - } + if (bundle.contains(Messages.format( DROPPED, i ))) + for (Bundlable b : bundle.getCollection( Messages.format( DROPPED, i ) ) ) { + dropped.add( (Item)b ); + } if (!dropped.isEmpty()) { droppedItems.put( i, dropped ); }