mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 23:26:11 +01:00
Store Quester instance before loading data
This commit is contained in:
parent
502ea53f9a
commit
966bf32eb9
@ -2028,8 +2028,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