mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-13 22:25:50 +01:00
Correct invalid choice message
This commit is contained in:
parent
ceb932ec0b
commit
a4af94f635
@ -374,7 +374,10 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
player.sendMessage(ChatColor.YELLOW + Lang.get("cancelled"));
|
||||
return Prompt.END_OF_CONVERSATION;
|
||||
} else {
|
||||
player.sendMessage(ChatColor.RED + Lang.get("questInvalidChoice"));
|
||||
String msg = Lang.get("questInvalidChoice");
|
||||
msg.replace("<yes>", Lang.get(player, "yesWord"));
|
||||
msg.replace("<no>", Lang.get(player, "noWord"));
|
||||
player.sendMessage(ChatColor.RED + msg);
|
||||
return new QuestPrompt();
|
||||
}
|
||||
}
|
||||
|
@ -667,7 +667,7 @@ inputNum: "Input must be a number."
|
||||
inputPosNum: "Input must be a positive number."
|
||||
questModified: "Your active Quest <quest> has been modified. You have been forced to quit the Quest."
|
||||
questNotExist: "Your active Quest <quest> no longer exists. You have been forced to quit the Quest."
|
||||
questInvalidChoice: "Invalid choice. Type 'Yes' or 'No'"
|
||||
questInvalidChoice: "Invalid choice. Type '<yes>' or '<no>'"
|
||||
questPointsDisplay: "Quest points:"
|
||||
questNoDrop: "You may not drop Quest items."
|
||||
questNoBrew: "You may not brew Quest items."
|
||||
|
Loading…
Reference in New Issue
Block a user