mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-21 00:07:48 +01:00
Update FCommons methods
This commit is contained in:
parent
2e68e95497
commit
05826266a5
@ -30,7 +30,7 @@ public class StaticReplacements {
|
||||
|
||||
for (Entry<ConfigPath, String> entry : replacementsSection.toMap(ConfigType.STRING).entrySet()) {
|
||||
String target = entry.getKey().asRawKey();
|
||||
String replacement = Colors.addColors(entry.getValue());
|
||||
String replacement = Colors.colorize(entry.getValue());
|
||||
|
||||
if (target.length() == 0) {
|
||||
errorCollector.add("error in \"" + config.getSourceFile() + "\":"
|
||||
|
@ -20,7 +20,7 @@ public class DisplayFormat {
|
||||
|
||||
input = StaticReplacements.searchAndReplace(input);
|
||||
input = input.replace("&u", "{rainbow}");
|
||||
input = Colors.addColors(input);
|
||||
input = Colors.colorize(input);
|
||||
return input;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user