aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main/java/kr
diff options
context:
space:
mode:
authorsyeyoung <cyoung06@naver.com>2023-02-06 02:09:25 +0900
committersyeyoung <cyoung06@naver.com>2023-02-06 02:09:25 +0900
commit15f5e1bf9aaf9c461abd0203ad7c0fd4c5355f56 (patch)
tree28bb7a29253880db554f7676ba0ddf7b1d3983ad /mod/src/main/java/kr
parent15e07dbf499dd48e2188dd5514962d06c723be2b (diff)
downloadSkyblock-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>
Diffstat (limited to 'mod/src/main/java/kr')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/cosmetics/surgical/SurgicalReplacer.java5
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;