v0.6.0: fixed potions and scrolls not updating quickslot when IDed

This commit is contained in:
Evan Debenham 2017-04-07 11:05:08 -04:00
parent 84c405ef2b
commit 44bcb028c4
2 changed files with 2 additions and 0 deletions

View File

@ -249,6 +249,7 @@ public class Potion extends Item {
if (!ownedByFruit) {
if (!isKnown()) {
handler.know(this);
updateQuickslot();
}
Badges.validateAllPotionsIdentified();

View File

@ -162,6 +162,7 @@ public abstract class Scroll extends Item {
public void setKnown() {
if (!isKnown() && !ownedByBook) {
handler.know( this );
updateQuickslot();
}
Badges.validateAllScrollsIdentified();