mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-26 20:55:54 +01:00
Test fix 3 for #130
This commit is contained in:
parent
a7df3ac897
commit
b5443d9813
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user