forked from Upstream/mmocore
Removed unused classes
This commit is contained in:
parent
d0034b4d34
commit
83a993798b
@ -1,15 +0,0 @@
|
||||
package net.Indyuce.mmocore.comp;
|
||||
|
||||
import org.bukkit.entity.Entity;
|
||||
|
||||
import com.nisovin.shopkeepers.api.ShopkeepersPlugin;
|
||||
|
||||
import net.Indyuce.mmocore.comp.entity.EntityHandler;
|
||||
|
||||
public class ShopKeepersEntityHandler implements EntityHandler {
|
||||
|
||||
@Override
|
||||
public boolean isCustomEntity(Entity entity) {
|
||||
return ShopkeepersPlugin.getInstance().getShopkeeperRegistry().isShopkeeper(entity);
|
||||
}
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
package net.Indyuce.mmocore.comp.entity;
|
||||
|
||||
import org.bukkit.entity.Entity;
|
||||
|
||||
public interface EntityHandler {
|
||||
|
||||
/*
|
||||
* this method lets you check if a specific entity was created using a plugin
|
||||
* and therefore which should not be a skill target.
|
||||
*/
|
||||
boolean isCustomEntity(Entity entity);
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package net.Indyuce.mmocore.comp.entity;
|
||||
|
||||
import org.bukkit.entity.Entity;
|
||||
|
||||
import de.Keyle.MyPet.api.entity.MyPetBukkitEntity;
|
||||
|
||||
public class MyPetEntityHandler implements EntityHandler {
|
||||
|
||||
@Override
|
||||
public boolean isCustomEntity(Entity entity) {
|
||||
return entity instanceof MyPetBukkitEntity;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user