mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-18 15:18:34 +01:00
Fix NPE introduced in recent build
This commit is contained in:
parent
3ecce10379
commit
8bb1a402ce
@ -911,7 +911,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
|||||||
public Quester getQuester(UUID id) {
|
public Quester getQuester(UUID id) {
|
||||||
Quester quester = null;
|
Quester quester = null;
|
||||||
for (Quester q: questers) {
|
for (Quester q: questers) {
|
||||||
if (quester.getUUID().equals(id)) {
|
if (q.getUUID().equals(id)) {
|
||||||
quester = q;
|
quester = q;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user