v0.2.3c: quickslot now properly stores artifacts and class armors
This commit is contained in:
parent
f50445dc14
commit
338e05d307
|
@ -395,7 +395,7 @@ public class WndBag extends WndTabbed {
|
|||
protected boolean onLongClick() {
|
||||
if (listener == null && item.defaultAction != null) {
|
||||
hide();
|
||||
Dungeon.quickslot = item instanceof Wand ? item : item.getClass();
|
||||
Dungeon.quickslot = (item instanceof EquipableItem && !item.stackable) ? item : item.getClass();
|
||||
QuickSlot.refresh();
|
||||
return true;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user