From e0b984b0185cc2231198d50edcd912a963a1b381 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 9 Aug 2021 12:04:35 -0400 Subject: [PATCH] v0.9.4: fixed incorrect item selection on spellbook --- .../items/artifacts/UnstableSpellbook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 9347521aa..6d2215a51 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 @@ -320,7 +320,7 @@ public class UnstableSpellbook extends Artifact { @Override public boolean itemSelectable(Item item) { - return item instanceof Scroll && !scrolls.contains(item.getClass()); + return item instanceof Scroll && scrolls.contains(item.getClass()); } @Override