From 12f747ae1d0b0552112bebbb275ee5ed55d3d5be Mon Sep 17 00:00:00 2001 From: MEEPofFaith <54301439+MEEPofFaith@users.noreply.github.com> Date: Wed, 1 Feb 2023 11:45:56 -0800 Subject: [PATCH] Strip colors from mod name as well (#8224) --- core/src/mindustry/mod/Mods.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/mindustry/mod/Mods.java b/core/src/mindustry/mod/Mods.java index a0fbdf5249..8d50f631ad 100644 --- a/core/src/mindustry/mod/Mods.java +++ b/core/src/mindustry/mod/Mods.java @@ -1173,6 +1173,7 @@ public class Mods implements Loadable{ //removes all colors public void cleanup(){ + if(name != null) name = Strings.stripColors(name); if(displayName != null) displayName = Strings.stripColors(displayName); if(author != null) author = Strings.stripColors(author); if(description != null) description = Strings.stripColors(description);