From b9f900923ca20458a5644e83a6c979060367568f Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sun, 26 Oct 2025 11:40:07 -0400 Subject: [PATCH] v3.3.0: fixed transmuting tipped darts destroying the original stack --- .../items/scrolls/ScrollOfTransmutation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/ScrollOfTransmutation.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/ScrollOfTransmutation.java index 922d84a6c..b513bb8b1 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/ScrollOfTransmutation.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/scrolls/ScrollOfTransmutation.java @@ -125,7 +125,7 @@ public class ScrollOfTransmutation extends InventoryScroll { } Dungeon.hero.spend(-Dungeon.hero.cooldown()); //cancel equip/unequip time } else { - if (item instanceof MissileWeapon){ + if (item instanceof MissileWeapon && !(item instanceof TippedDart)){ item.detachAll(Dungeon.hero.belongings.backpack); } else { item.detach(Dungeon.hero.belongings.backpack);