diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/traps/PitfallTrap.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/traps/PitfallTrap.java index 070e001ea..d0225cca7 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/traps/PitfallTrap.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/traps/PitfallTrap.java @@ -115,7 +115,8 @@ public class PitfallTrap extends Trap { } Heap heap = Dungeon.level.heaps.get(cell); - if (heap != null && heap.type != Heap.Type.FOR_SALE + if (heap != null && !ignoreAllies + && heap.type != Heap.Type.FOR_SALE && heap.type != Heap.Type.LOCKED_CHEST && heap.type != Heap.Type.CRYSTAL_CHEST) { for (Item item : heap.items) {