mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2025-02-01 04:31:21 +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 = StaticReplacements.searchAndReplace(input);
|
||||||
|
input = input.replace("&u", "{rainbow}");
|
||||||
input = Colors.addColors(input);
|
input = Colors.addColors(input);
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
|
@ -29,8 +29,7 @@ public class DefaultPlaceholders {
|
|||||||
BungeeServerTracker bungeeServerTracker) {
|
BungeeServerTracker bungeeServerTracker) {
|
||||||
HolographicDisplays plugin = HolographicDisplays.getInstance();
|
HolographicDisplays plugin = HolographicDisplays.getInstance();
|
||||||
placeholderRegistry.unregisterAll(plugin);
|
placeholderRegistry.unregisterAll(plugin);
|
||||||
|
|
||||||
// TODO restore "&u"
|
|
||||||
placeholderRegistry.register(plugin, "rainbow", new AnimationPlaceholder(4, toStringList(
|
placeholderRegistry.register(plugin, "rainbow", new AnimationPlaceholder(4, toStringList(
|
||||||
ChatColor.RED,
|
ChatColor.RED,
|
||||||
ChatColor.GOLD,
|
ChatColor.GOLD,
|
||||||
|
Loading…
Reference in New Issue
Block a user