v1.4.0: added a case to handle lost inventory and items on stairs

This commit is contained in:
Evan Debenham
2022-08-01 19:27:22 -04:00
parent 1df169f533
commit a558c1200d

View File

@@ -888,6 +888,11 @@ public class Hero extends Char {
curAction = null;
} else {
//allow the hero to move between levels even if they can't collect the item
if (Dungeon.level.getTransition(pos) != null){
return actTransition(new HeroAction.LvlTransition(pos));
}
if (item instanceof Dewdrop
|| item instanceof TimekeepersHourglass.sandBag
|| item instanceof DriedRose.Petal