Removed unused classes

This commit is contained in:
Indyuce 2020-05-05 20:39:06 +02:00
parent d0034b4d34
commit 83a993798b
3 changed files with 0 additions and 40 deletions

View File

@ -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);
}
}

View File

@ -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);
}

View File

@ -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;
}
}