1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Check for NULL

This commit is contained in:
Zrips 2017-05-13 18:29:56 +03:00
parent ee719a9add
commit 77d03db7b5

View File

@ -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();
}