Fix NPE introduced in recent build

This commit is contained in:
BuildTools 2019-01-07 18:20:51 -05:00
parent 3ecce10379
commit 8bb1a402ce

View File

@ -911,7 +911,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
public Quester getQuester(UUID id) {
Quester quester = null;
for (Quester q: questers) {
if (quester.getUUID().equals(id)) {
if (q.getUUID().equals(id)) {
quester = q;
}
}