mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-28 05:35:33 +01:00
Make console error configurable
This commit is contained in:
parent
6fa4329ac7
commit
56517599a2
@ -1243,11 +1243,11 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
cs.sendMessage(ChatColor.YELLOW + "This command may only be performed in-game.");
|
||||
cs.sendMessage(ChatColor.YELLOW + Lang.get("consoleError"));
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
cs.sendMessage(ChatColor.YELLOW + "This command may only be performed in-game.");
|
||||
cs.sendMessage(ChatColor.YELLOW + Lang.get("consoleError"));
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
@ -1621,7 +1621,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
cs.sendMessage(ChatColor.YELLOW + "This command may only be performed in-game.");
|
||||
cs.sendMessage(ChatColor.YELLOW + Lang.get("consoleError"));
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
|
@ -755,6 +755,7 @@ public class Lang {
|
||||
langMap.put("completed", "Completed");
|
||||
langMap.put("redoCompleted", "(Completed)");
|
||||
//
|
||||
langMap.put("consoleError", "This command may only be performed in-game.");
|
||||
langMap.put("invalidSelection", "Invalid selection!");
|
||||
langMap.put("noActiveQuest", "You do not currently have any active Quests.");
|
||||
langMap.put("speakTo", "Start: Speak to <npc>");
|
||||
|
Loading…
Reference in New Issue
Block a user