v3.0.1: fixed metamorphed cleanse + toolkit causing crashes

This commit is contained in:
Evan Debenham
2025-03-06 11:26:58 -05:00
parent cd2ff07a20
commit 876bb8ec66

View File

@@ -814,7 +814,9 @@ public enum Talent {
removed = true; removed = true;
} }
} }
if (removed) new Flare( 6, 32 ).color(0xFF4CD2, true).show( Dungeon.hero.sprite, 2f ); if (removed && Dungeon.hero.sprite != null) {
new Flare( 6, 32 ).color(0xFF4CD2, true).show( Dungeon.hero.sprite, 2f );
}
} }
} }