mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Check for NULL
This commit is contained in:
parent
ee719a9add
commit
77d03db7b5
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user