v2.0.0: fixed blacksmith not taking a cursed equipped pickaxe
This commit is contained in:
@@ -120,6 +120,7 @@ public class Blacksmith extends NPC {
|
|||||||
tell( Messages.get(this, "blood_2") );
|
tell( Messages.get(this, "blood_2") );
|
||||||
} else {
|
} else {
|
||||||
if (pick.isEquipped( Dungeon.hero )) {
|
if (pick.isEquipped( Dungeon.hero )) {
|
||||||
|
pick.cursed = false; //so that it can always be removed
|
||||||
pick.doUnequip( Dungeon.hero, false );
|
pick.doUnequip( Dungeon.hero, false );
|
||||||
}
|
}
|
||||||
pick.detach( Dungeon.hero.belongings.backpack );
|
pick.detach( Dungeon.hero.belongings.backpack );
|
||||||
|
|||||||
Reference in New Issue
Block a user