From 2700debaf5880b176e56e8a606fbce273a8d2ab0 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Tue, 29 Nov 2022 12:03:50 -0500 Subject: [PATCH] v2.0.0: fixed blacksmith not taking a cursed equipped pickaxe --- .../shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java index 490d16474..2843e5c3b 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java @@ -120,6 +120,7 @@ public class Blacksmith extends NPC { tell( Messages.get(this, "blood_2") ); } else { if (pick.isEquipped( Dungeon.hero )) { + pick.cursed = false; //so that it can always be removed pick.doUnequip( Dungeon.hero, false ); } pick.detach( Dungeon.hero.belongings.backpack );