mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-30 04:37:42 +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()) {
|
for (Entry<ConfigPath, String> entry : replacementsSection.toMap(ConfigType.STRING).entrySet()) {
|
||||||
String target = entry.getKey().asRawKey();
|
String target = entry.getKey().asRawKey();
|
||||||
String replacement = Colors.addColors(entry.getValue());
|
String replacement = Colors.colorize(entry.getValue());
|
||||||
|
|
||||||
if (target.length() == 0) {
|
if (target.length() == 0) {
|
||||||
errorCollector.add("error in \"" + config.getSourceFile() + "\":"
|
errorCollector.add("error in \"" + config.getSourceFile() + "\":"
|
||||||
|
@ -20,7 +20,7 @@ public class DisplayFormat {
|
|||||||
|
|
||||||
input = StaticReplacements.searchAndReplace(input);
|
input = StaticReplacements.searchAndReplace(input);
|
||||||
input = input.replace("&u", "{rainbow}");
|
input = input.replace("&u", "{rainbow}");
|
||||||
input = Colors.addColors(input);
|
input = Colors.colorize(input);
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user