diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/features/text/TextHUDFeature.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/features/text/TextHUDFeature.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/text/TextHUDFeature.java b/src/main/java/kr/syeyoung/dungeonsguide/features/text/TextHUDFeature.java index 7df67515..55ff99e4 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/features/text/TextHUDFeature.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/features/text/TextHUDFeature.java @@ -63,7 +63,7 @@ public abstract class TextHUDFeature extends GuiFeature implements StyledTextPro } String things2 = things.toString().trim(); int lines = 1; - for (char c : things2.toString().toCharArray()) { + for (char c : things2.toCharArray()) { if (c == '\n') lines++; } return lines; |