v0.9.3b: quickslotted bags are no longer removed from rankings

This commit is contained in:
Evan Debenham
2021-06-17 17:01:16 -04:00
parent e919b880a9
commit c89181ea18
@@ -128,9 +128,10 @@ public enum Rankings {
for (Item bagItem : ((Bag) item).items.toArray( new Item[0])){ for (Item bagItem : ((Bag) item).items.toArray( new Item[0])){
if (Dungeon.quickslot.contains(bagItem)) belongings.backpack.items.add(bagItem); if (Dungeon.quickslot.contains(bagItem)) belongings.backpack.items.add(bagItem);
} }
}
if (!Dungeon.quickslot.contains(item)) {
belongings.backpack.items.remove(item); belongings.backpack.items.remove(item);
} else if (!Dungeon.quickslot.contains(item)) }
belongings.backpack.items.remove(item);
} }
//remove all buffs (ones tied to equipment will be re-applied) //remove all buffs (ones tied to equipment will be re-applied)