From 602476266134766eb7ccc898d524c38f19432404 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 8 Dec 2025 12:00:41 -0500 Subject: [PATCH] v3.3.1: blocked vault tester area entry with lost inventory --- .../shatteredpixeldungeon/levels/CityLevel.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/CityLevel.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/CityLevel.java index 9b09c0b1c..4aa2e52b4 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/CityLevel.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/CityLevel.java @@ -26,6 +26,7 @@ import com.shatteredpixel.shatteredpixeldungeon.Dungeon; import com.shatteredpixel.shatteredpixeldungeon.Statistics; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.AscensionChallenge; import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.Buff; +import com.shatteredpixel.shatteredpixeldungeon.actors.buffs.LostInventory; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.Hero; import com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs.Imp; import com.shatteredpixel.shatteredpixeldungeon.effects.particles.ElmoParticle; @@ -146,7 +147,8 @@ public class CityLevel extends RegularLevel { public boolean activateTransition(Hero hero, LevelTransition transition) { if (transition.type == LevelTransition.Type.BRANCH_EXIT) { - if (hero.buff(AscensionChallenge.class) != null){ + if (hero.buff(AscensionChallenge.class) != null + || hero.buff(LostInventory.class) != null){ return false; }