mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 07:05:51 +01:00
Fixed "yes" and "no" not being translated
When accepting a task, the prompts "yes" and "no" are not translated.
This commit is contained in:
parent
6eeb4ad032
commit
636bb0a4e0
@ -392,9 +392,9 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
player.sendMessage(ChatColor.YELLOW + Lang.get("cancelled"));
|
||||
return Prompt.END_OF_CONVERSATION;
|
||||
} else {
|
||||
String msg = Lang.get("questInvalidChoice");
|
||||
msg.replace("<yes>", Lang.get(player, "yesWord"));
|
||||
msg.replace("<no>", Lang.get(player, "noWord"));
|
||||
String msg = Lang.get(player, "questInvalidChoice")
|
||||
.replace("<yes>", Lang.get(player, "yesWord"))
|
||||
.replace("<no>", Lang.get(player, "noWord"));
|
||||
player.sendMessage(ChatColor.RED + msg);
|
||||
return new QuestAcceptPrompt();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user