mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 11:15:47 +01:00
Fix issue #20 by colouring motd in command
This commit is contained in:
parent
88babcaea1
commit
9aeb63889f
@ -25,7 +25,7 @@ public class CommandMotd extends Command
|
|||||||
newMOTD = newMOTD + s + " ";
|
newMOTD = newMOTD + s + " ";
|
||||||
}
|
}
|
||||||
newMOTD = newMOTD.substring(0, newMOTD.length() - 1);
|
newMOTD = newMOTD.substring(0, newMOTD.length() - 1);
|
||||||
BungeeCord.instance.config.motd = newMOTD;
|
BungeeCord.instance.config.motd = ChatColor.translateAlternateColorCodes('&', newMOTD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user