mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2025-01-20 06:41:20 +01:00
Re-add rainbow color &u" as alias of "{rainbow}"
This commit is contained in:
parent
d58e9fe0a9
commit
71bf06a8b5
@ -21,6 +21,7 @@ public class TextFormatter {
|
||||
}
|
||||
|
||||
input = StaticReplacements.searchAndReplace(input);
|
||||
input = input.replace("&u", "{rainbow}");
|
||||
input = Colors.addColors(input);
|
||||
return input;
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user