mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-18 23:27:44 +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;
|
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