From 15f5e1bf9aaf9c461abd0203ad7c0fd4c5355f56 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Mon, 6 Feb 2023 02:09:25 +0900 Subject: - Fix sba chroma? Signed-off-by: syeyoung --- .../dungeonsguide/mod/cosmetics/surgical/SurgicalReplacer.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mod/src/main/java') 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; -- cgit