v0.6.0: fixed potions and scrolls not updating quickslot when IDed
This commit is contained in:
parent
84c405ef2b
commit
44bcb028c4
|
@ -249,6 +249,7 @@ public class Potion extends Item {
|
||||||
if (!ownedByFruit) {
|
if (!ownedByFruit) {
|
||||||
if (!isKnown()) {
|
if (!isKnown()) {
|
||||||
handler.know(this);
|
handler.know(this);
|
||||||
|
updateQuickslot();
|
||||||
}
|
}
|
||||||
|
|
||||||
Badges.validateAllPotionsIdentified();
|
Badges.validateAllPotionsIdentified();
|
||||||
|
|
|
@ -162,6 +162,7 @@ public abstract class Scroll extends Item {
|
||||||
public void setKnown() {
|
public void setKnown() {
|
||||||
if (!isKnown() && !ownedByBook) {
|
if (!isKnown() && !ownedByBook) {
|
||||||
handler.know( this );
|
handler.know( this );
|
||||||
|
updateQuickslot();
|
||||||
}
|
}
|
||||||
|
|
||||||
Badges.validateAllScrollsIdentified();
|
Badges.validateAllScrollsIdentified();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user