mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 10:36:09 +01:00
Journal message for no accepted quests, fixes #21
This commit is contained in:
parent
6293ff4282
commit
efd161e97f
@ -257,8 +257,11 @@ public class Quester {
|
||||
book.setTitle(ChatColor.LIGHT_PURPLE + Lang.get("journalTitle"));
|
||||
book.setAuthor(getPlayer().getName());
|
||||
|
||||
|
||||
if(currentQuests.isEmpty() == false) {
|
||||
if(currentQuests.isEmpty()) {
|
||||
|
||||
book.addPage(ChatColor.DARK_RED + Lang.get("journalNoQuests"));
|
||||
|
||||
} else {
|
||||
|
||||
int currentLength = 0;
|
||||
int currentLines = 0;
|
||||
|
@ -945,6 +945,7 @@ public class Lang {
|
||||
langMap.put("journalPutAway", "You put away your Quest Journal.");
|
||||
langMap.put("journalAlreadyHave", "You already have your Quest Journal out.");
|
||||
langMap.put("journalNoRoom", "You have no room in your inventory for your Quest Journal!");
|
||||
langMap.put("journalNoQuests", "You have no accepted quests!");
|
||||
//
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user