From 8bb1a402ce64e0b96b6c6185f231d348865a5343 Mon Sep 17 00:00:00 2001 From: BuildTools <unconfigured@null.spigotmc.org> Date: Mon, 7 Jan 2019 18:20:51 -0500 Subject: [PATCH] Fix NPE introduced in recent build --- src/main/java/me/blackvein/quests/Quests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/blackvein/quests/Quests.java b/src/main/java/me/blackvein/quests/Quests.java index e8a207a45..d3c60495d 100644 --- a/src/main/java/me/blackvein/quests/Quests.java +++ b/src/main/java/me/blackvein/quests/Quests.java @@ -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; } }