diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java index 95dcbbcf9..78c2c9c0d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/hero/Talent.java @@ -814,7 +814,9 @@ public enum Talent { 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 ); + } } }