diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/bags/Bag.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/bags/Bag.java index d69f35167..36979f843 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/bags/Bag.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/bags/Bag.java @@ -117,7 +117,7 @@ public class Bag extends Item implements Iterable { public void restoreFromBundle( Bundle bundle ) { super.restoreFromBundle( bundle ); for (Bundlable item : bundle.getCollection( ITEMS )) { - ((Item)item).collect( this ); + if (item != null) ((Item)item).collect( this ); }; }