Skip to content

Commit 95a6097

Browse files
committed
Fixed: Parse colour code in Multiverse world alias
1 parent e72cdb6 commit 95a6097

File tree

1 file changed

+1
-1
lines changed
  • modules/RoyalCommands/src/main/java/org/royaldev/royalcommands

1 file changed

+1
-1
lines changed

modules/RoyalCommands/src/main/java/org/royaldev/royalcommands/RUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ public static String getMVWorldName(World w) {
706706
if (w == null) throw new NullPointerException("w can't be null!");
707707
if (!Config.multiverseNames || RoyalCommands.mvc == null)
708708
return RoyalCommands.wm.getConfig().getString("worlds." + w.getName() + ".displayname", w.getName());
709-
return RoyalCommands.mvc.getApi().getWorldManager().getWorld(w).get().getAlias();
709+
return RUtils.colorize(RoyalCommands.mvc.getApi().getWorldManager().getWorld(w).get().getAlias());
710710
}
711711

712712
public static String getBiomeName(Biome b) {

0 commit comments

Comments
 (0)