From ecaebe0c3f3b3b2ece7998231eed8dac361b7791 Mon Sep 17 00:00:00 2001 From: MEEPofFaith <54301439+MEEPofFaith@users.noreply.github.com> Date: Mon, 2 Dec 2024 03:50:36 -0800 Subject: [PATCH] Just don't check for adjacent colons. The hasUnicodeStr already checks for validity --- core/src/mindustry/core/UI.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/src/mindustry/core/UI.java b/core/src/mindustry/core/UI.java index 75de226c9e..6de2c6856f 100644 --- a/core/src/mindustry/core/UI.java +++ b/core/src/mindustry/core/UI.java @@ -703,12 +703,6 @@ public class UI implements ApplicationListener, Loadable{ buffer.append(ch); } }else if(ch == ':'){ - if(i == indexStart + 1){ - buffer.append(":"); - indexStart = -1; - continue; - } - String content = s.substring(indexStart + 1, i); if(Fonts.hasUnicodeStr(content)){ buffer.append(Fonts.getUnicodeStr(content));