From 860d001657121f293843a0da176cef5a4c247d35 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 10 Feb 2015 13:58:45 -0500 Subject: [PATCH] v0.2.4: fixed unstable spellbook error --- .../items/artifacts/UnstableSpellbook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java index 068dcd5f8..c939ef815 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/items/artifacts/UnstableSpellbook.java @@ -69,7 +69,7 @@ public class UnstableSpellbook extends Artifact { ArrayList actions = super.actions( hero ); if (isEquipped( hero ) && charge > 0 && !cursed) actions.add(AC_READ); - if (level < levelCap && !cursed) + if (isEquipped( hero ) && level < levelCap && !cursed) actions.add(AC_ADD); return actions; }