Strip colors from mod name as well (#8224)
This commit is contained in:
@@ -1173,6 +1173,7 @@ public class Mods implements Loadable{
|
|||||||
|
|
||||||
//removes all colors
|
//removes all colors
|
||||||
public void cleanup(){
|
public void cleanup(){
|
||||||
|
if(name != null) name = Strings.stripColors(name);
|
||||||
if(displayName != null) displayName = Strings.stripColors(displayName);
|
if(displayName != null) displayName = Strings.stripColors(displayName);
|
||||||
if(author != null) author = Strings.stripColors(author);
|
if(author != null) author = Strings.stripColors(author);
|
||||||
if(description != null) description = Strings.stripColors(description);
|
if(description != null) description = Strings.stripColors(description);
|
||||||
|
|||||||
Reference in New Issue
Block a user