Re-add rainbow color &u" as alias of "{rainbow}"

This commit is contained in:
filoghost 2021-05-24 22:55:30 +02:00
parent d58e9fe0a9
commit 71bf06a8b5
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,7 @@ public class TextFormatter {
}
input = StaticReplacements.searchAndReplace(input);
input = input.replace("&u", "{rainbow}");
input = Colors.addColors(input);
return input;
}

View File

@ -29,8 +29,7 @@ public class DefaultPlaceholders {
BungeeServerTracker bungeeServerTracker) {
HolographicDisplays plugin = HolographicDisplays.getInstance();
placeholderRegistry.unregisterAll(plugin);
// TODO restore "&u"
placeholderRegistry.register(plugin, "rainbow", new AnimationPlaceholder(4, toStringList(
ChatColor.RED,
ChatColor.GOLD,