From 77d03db7b55c140bbb3c3a67e853379466721789 Mon Sep 17 00:00:00 2001 From: Zrips Date: Sat, 13 May 2017 18:29:56 +0300 Subject: [PATCH] Check for NULL --- src/main/java/com/gamingmesh/jobs/Jobs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gamingmesh/jobs/Jobs.java b/src/main/java/com/gamingmesh/jobs/Jobs.java index de6349d0..85be1457 100644 --- a/src/main/java/com/gamingmesh/jobs/Jobs.java +++ b/src/main/java/com/gamingmesh/jobs/Jobs.java @@ -756,7 +756,7 @@ public class Jobs extends JavaPlugin { setMyPetManager(); setMythicManager(); - if (MythicManager.Check() && GconfigManager.MythicMobsEnabled) { + if (MythicManager != null && MythicManager.Check() && GconfigManager.MythicMobsEnabled) { MythicManager.registerListener(); }