v0.6.2: fixed artifacts being un-quicksloted when equipped in some cases
This commit is contained in:
parent
ff6d3f93ff
commit
30e021f8d5
|
@ -50,11 +50,9 @@ public abstract class KindofMisc extends EquipableItem {
|
|||
protected void onSelect(int index) {
|
||||
|
||||
KindofMisc equipped = (index == 0 ? m1 : m2);
|
||||
detach( hero.belongings.backpack );
|
||||
if (equipped.doUnequip(hero, true, false)) {
|
||||
//fully re-execute rather than just call doEquip as we want to preserve quickslot
|
||||
execute(hero, AC_EQUIP);
|
||||
} else {
|
||||
collect( hero.belongings.backpack );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user