mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-27 18:51:34 +01:00
Properly colorize quest quit message
This commit is contained in:
parent
378b8bc909
commit
e325e67635
@ -712,8 +712,8 @@ public class CmdExecutor implements CommandExecutor {
|
||||
if (event.isCancelled()) {
|
||||
return;
|
||||
}
|
||||
String msg = Lang.get("questQuit");
|
||||
msg = msg.replace("<quest>", ChatColor.DARK_PURPLE + quest.getName() + ChatColor.YELLOW);
|
||||
final String msg = ChatColor.YELLOW + Lang.get("questQuit").replace("<quest>",
|
||||
ChatColor.DARK_PURPLE + quest.getName() + ChatColor.YELLOW);
|
||||
quester.quitQuest(quest, msg);
|
||||
} else {
|
||||
Lang.send(player, ChatColor.YELLOW + Lang.get(player, "questQuitDisabled"));
|
||||
|
Loading…
Reference in New Issue
Block a user