Fixed MythicMobs integration not working
This commit is contained in:
@@ -6,6 +6,8 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface MythicMobsWrapper extends Integration {
|
||||
/**
|
||||
* If an entity can drop items.
|
||||
*
|
||||
* @param entity The entity.
|
||||
* @see MythicMobsManager#canDropItems(Entity)
|
||||
*/
|
||||
|
||||
@@ -6,6 +6,7 @@ import org.bukkit.entity.Entity;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class IntegrationMythicMobs implements MythicMobsWrapper {
|
||||
@Override
|
||||
public boolean canDropItems(@NotNull final Entity entity) {
|
||||
if (!MythicMobs.inst().getAPIHelper().isMythicMob(entity)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user