diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java index fd16f7293..885fe5244 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java @@ -282,7 +282,9 @@ public class UnstableSpellbook extends Artifact { public void restoreFromBundle( Bundle bundle ) { super.restoreFromBundle(bundle); scrolls.clear(); - Collections.addAll(scrolls, bundle.getClassArray(SCROLLS)); + if (bundle.contains(SCROLLS)) { + Collections.addAll(scrolls, bundle.getClassArray(SCROLLS)); + } } public class bookRecharge extends ArtifactBuff{