mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-01-26 01:01:22 +01:00
Fixed MythicMobs integration not working
This commit is contained in:
parent
c672c64ac2
commit
8bf6a08e61
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user