mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 15:16:41 +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;
|
||||
}
|
||||
}
|
||||
if (quester.loadData() == true) {
|
||||
questers.put(id, quester);
|
||||
questers.put(id, quester);
|
||||
if (!quester.loadData()) {
|
||||
questers.remove(id);
|
||||
}
|
||||
}
|
||||
return quester;
|
||||
|
Loading…
Reference in New Issue
Block a user