v1.1.0: fixed un-IDed scrolls being selectable for spellbook
This could let you soft-ID scrolls in rare cases
This commit is contained in:
parent
0e215cb8b0
commit
e582de3132
|
@ -320,7 +320,7 @@ public class UnstableSpellbook extends Artifact {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean itemSelectable(Item item) {
|
public boolean itemSelectable(Item item) {
|
||||||
return item instanceof Scroll && scrolls.contains(item.getClass());
|
return item instanceof Scroll && item.isIdentified() && scrolls.contains(item.getClass());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user