v0.7.0: fixed talisman of foresight not updating its quickslot status

This commit is contained in:
Evan Debenham 2018-06-24 22:42:29 -04:00
parent c3dec7af82
commit 9268e6ac67

View File

@ -182,6 +182,7 @@ public class TalismanOfForesight extends Artifact {
if (partialCharge > 1 && charge < chargeCap) { if (partialCharge > 1 && charge < chargeCap) {
partialCharge--; partialCharge--;
charge++; charge++;
updateQuickslot();
} else if (charge >= chargeCap) { } else if (charge >= chargeCap) {
partialCharge = 0; partialCharge = 0;
GLog.p( Messages.get(this, "full_charge") ); GLog.p( Messages.get(this, "full_charge") );
@ -199,6 +200,7 @@ public class TalismanOfForesight extends Artifact {
GLog.p( Messages.get(this, "levelup") ); GLog.p( Messages.get(this, "levelup") );
exp -= 4; exp -= 4;
} }
updateQuickslot();
} }
@Override @Override