diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java index 4a2e4d8ff..008f92ae2 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/sprites/CharSprite.java @@ -150,7 +150,11 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip if (args.length > 0) { text = Messages.format( text, args ); } - FloatingText.show( x + width * 0.5f, y, text, color ); + if (ch != null) { + FloatingText.show( x + width * 0.5f, y, ch.pos, text, color ); + } else { + FloatingText.show( x + width * 0.5f, y, text, color ); + } } }