This commit is contained in:
MEEPofFaith
2024-12-02 02:49:37 -08:00
parent 1ad14990e2
commit 97d1e906a7

View File

@@ -685,7 +685,7 @@ public class UI implements ApplicationListener, Loadable{
}
/**
* Finds all :name: in a string an replaces them with the icon, if such exists.
* Finds all :name: in a string and replaces them with the icon, if such exists.
* Based on TextFormatter::simpleFormat
*/
public static String formatIcons(String s){
@@ -714,7 +714,7 @@ public class UI implements ApplicationListener, Loadable{
changed = true;
indexStart = -1;
}else{
buffer.append(content);
buffer.append(":").append(content);
indexStart = i;
}
}