diff options
author | syeyoung <cyoung06@naver.com> | 2023-02-06 02:09:25 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2023-02-06 02:09:25 +0900 |
commit | 15f5e1bf9aaf9c461abd0203ad7c0fd4c5355f56 (patch) | |
tree | 28bb7a29253880db554f7676ba0ddf7b1d3983ad | |
parent | 15e07dbf499dd48e2188dd5514962d06c723be2b (diff) | |
download | Skyblock-Dungeons-Guide-15f5e1bf9aaf9c461abd0203ad7c0fd4c5355f56.tar.gz Skyblock-Dungeons-Guide-15f5e1bf9aaf9c461abd0203ad7c0fd4c5355f56.tar.bz2 Skyblock-Dungeons-Guide-15f5e1bf9aaf9c461abd0203ad7c0fd4c5355f56.zip |
- Fix sba chroma?
Signed-off-by: syeyoung <cyoung06@naver.com>
-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; |