mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-01-22 09:31:22 +01:00
Fixed colors not working on profession/class holograms
This commit is contained in:
parent
bbe7d2b9b8
commit
dad9db0edd
@ -128,7 +128,7 @@ public class MMOCoreUtils {
|
|||||||
* @param message Message to display
|
* @param message Message to display
|
||||||
*/
|
*/
|
||||||
public static void displayIndicator(Location loc, String message) {
|
public static void displayIndicator(Location loc, String message) {
|
||||||
Hologram holo = Hologram.create(loc, Collections.singletonList(message));
|
Hologram holo = Hologram.create(loc, MythicLib.plugin.parseColors(Collections.singletonList(message)));
|
||||||
Bukkit.getScheduler().runTaskLater(MMOCore.plugin, holo::despawn, 20);
|
Bukkit.getScheduler().runTaskLater(MMOCore.plugin, holo::despawn, 20);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user