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() {
|
protected boolean onLongClick() {
|
||||||
if (listener == null && item.defaultAction != null) {
|
if (listener == null && item.defaultAction != null) {
|
||||||
hide();
|
hide();
|
||||||
Dungeon.quickslot = item instanceof Wand ? item : item.getClass();
|
Dungeon.quickslot = (item instanceof EquipableItem && !item.stackable) ? item : item.getClass();
|
||||||
QuickSlot.refresh();
|
QuickSlot.refresh();
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user