mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-19 23:01:31 +01:00
Merge pull request #1039 from apachezy/patch-1
Fixed "yes" and "no" not being translated for invalid choice
This commit is contained in:
commit
c001eab944
@ -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