diff options
-rw-r--r-- | mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/surgical/SurgicalReplacer.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/surgical/SurgicalReplacer.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/surgical/SurgicalReplacer.java index 475b10f9..3fdc1a79 100644 --- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/surgical/SurgicalReplacer.java +++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/surgical/SurgicalReplacer.java @@ -57,7 +57,10 @@ public class SurgicalReplacer { stringBuilder = new StringBuilder(); } int i1 = "0123456789abcdefklmnor".indexOf(Character.toLowerCase(charArr[i + 1])); - if (i1 < 16) { + if (i1 == -1) { + stringBuilder.append(c0); + continue; + } else if (i1 < 16) { randomStyle = false; boldStyle = false; strikethroughStyle = false; |