v2.3.1: fixed cases where transmutation would not preserve quickslots
This commit is contained in:
committed by
Evan Debenham
parent
8c318c9075
commit
241292cf4d
@@ -122,7 +122,7 @@ public class ScrollOfTransmutation extends InventoryScroll {
|
||||
item.detach(Dungeon.hero.belongings.backpack);
|
||||
if (!result.collect()) {
|
||||
Dungeon.level.drop(result, curUser.pos).sprite.drop();
|
||||
} else if (Dungeon.hero.belongings.getSimilar(result) != null){
|
||||
} else if (result.stackable && Dungeon.hero.belongings.getSimilar(result) != null){
|
||||
result = Dungeon.hero.belongings.getSimilar(result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user