1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-26 04:25:15 +01:00

Just to be on safe side with mythicmob check

This commit is contained in:
Zrips 2017-07-22 12:25:28 +03:00
parent 08d55322e5
commit e90159f27c
2 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,8 @@ public class MythicMobs2 implements MythicMobInterface {
@Override
public boolean isMythicMob(LivingEntity lVictim) {
if (MMAPI == null || lVictim == null)
return false;
if (MMAPI.getMobAPI().isMythicMob(lVictim))
return true;
return false;

View File

@ -26,6 +26,8 @@ public class MythicMobs4 implements MythicMobInterface {
@Override
public boolean isMythicMob(LivingEntity lVictim) {
if (MMAPI == null || lVictim == null)
return false;
if (MMAPI.isMythicMob(lVictim))
return true;
return false;