Test fix 3 for #130

This commit is contained in:
HappyPikachu 2015-06-11 10:29:37 -04:00
parent a7df3ac897
commit b5443d9813
2 changed files with 3 additions and 1 deletions

View File

@ -332,7 +332,7 @@ public class Quester {
if (questData.containsKey(quest)) { if (questData.containsKey(quest)) {
return questData.get(quest); return questData.get(quest);
} }
plugin.getLogger().warning("Data for quest " + quest + "returned null"); plugin.getLogger().warning("Data for quest " + quest.name + " returned null");
plugin.getLogger().warning(questData.toString()); plugin.getLogger().warning(questData.toString());
return null; return null;
} }

View File

@ -2434,6 +2434,8 @@ try{
for (Quest q : getQuester(player.getUniqueId()).currentQuests.keySet()) { for (Quest q : getQuester(player.getUniqueId()).currentQuests.keySet()) {
if (getQuester(player.getUniqueId()).getQuestData(q) != null);
if (getQuester(player.getUniqueId()).getQuestData(q).delayStartTime == 0) { if (getQuester(player.getUniqueId()).getQuestData(q).delayStartTime == 0) {
String msg = Lang.get("questObjectivesTitle"); String msg = Lang.get("questObjectivesTitle");