mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-24 18:18:20 +01:00
Merge pull request #472 from caseif/quester-init-order
Store Quester instance before loading data
This commit is contained in:
commit
9e79d8fcb3
@ -2042,8 +2042,9 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
|||||||
return quester;
|
return quester;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (quester.loadData() == true) {
|
questers.put(id, quester);
|
||||||
questers.put(id, quester);
|
if (!quester.loadData()) {
|
||||||
|
questers.remove(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return quester;
|
return quester;
|
||||||
|
Loading…
Reference in New Issue
Block a user