From 1ad14990e2ee1777a40a9bb1291eeb78c3dd9d67 Mon Sep 17 00:00:00 2001 From: MEEPofFaith <54301439+MEEPofFaith@users.noreply.github.com> Date: Mon, 2 Dec 2024 02:46:24 -0800 Subject: [PATCH] unecessary --- core/src/mindustry/core/UI.java | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/core/src/mindustry/core/UI.java b/core/src/mindustry/core/UI.java index 598156cb33..be78150d1e 100644 --- a/core/src/mindustry/core/UI.java +++ b/core/src/mindustry/core/UI.java @@ -707,17 +707,15 @@ public class UI implements ApplicationListener, Loadable{ }else{ buffer.append(ch); } - }else{ - if(ch == ':'){ - String content = s.substring(indexStart + 1, i); - if(Fonts.hasUnicodeStr(content)){ - buffer.append(Fonts.getUnicodeStr(content)); - changed = true; - indexStart = -1; - }else{ - buffer.append(content); - indexStart = i; - } + }else if(ch == ':'){ + String content = s.substring(indexStart + 1, i); + if(Fonts.hasUnicodeStr(content)){ + buffer.append(Fonts.getUnicodeStr(content)); + changed = true; + indexStart = -1; + }else{ + buffer.append(content); + indexStart = i; } } }