From 44cbfedd379f6fa611e5cfb4ec2f2b30729dade2 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 31 May 2025 17:28:22 -0400 Subject: [PATCH] v3.1.0: fixed smith rewards not properly being set to null on load --- .../shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java | 2 ++ 1 file changed, 2 insertions(+) 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 c5ebeecd7..3c022d7a6 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 @@ -342,6 +342,8 @@ public class Blacksmith extends NPC { smithEnchant = (Weapon.Enchantment) node.get(ENCHANT); smithGlyph = (Armor.Glyph) node.get(GLYPH); } + } else { + smithRewards = null; } } else {