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:
parent
08d55322e5
commit
e90159f27c
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user