diff --git a/pom.xml b/pom.xml index 1a72c5e..31b9fef 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 io.github.totemo Doppelganger - 0.11.0 + 1.0.0 jar Doppelganger Provides custom, summonable mobs that are reminiscent of the built-in golem types. @@ -15,7 +15,7 @@ org.bukkit bukkit - 1.9-R0.1-SNAPSHOT + 1.11-R0.1-SNAPSHOT diff --git a/src/io/github/totemo/doppelganger/PredefinedCreature.java b/src/io/github/totemo/doppelganger/PredefinedCreature.java index 16c9e60..883c7b4 100644 --- a/src/io/github/totemo/doppelganger/PredefinedCreature.java +++ b/src/io/github/totemo/doppelganger/PredefinedCreature.java @@ -8,8 +8,6 @@ import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Pig; import org.bukkit.entity.PigZombie; -import org.bukkit.entity.Skeleton; -import org.bukkit.entity.Skeleton.SkeletonType; import org.bukkit.entity.Villager; import org.bukkit.entity.Villager.Profession; import org.bukkit.entity.Zombie; @@ -24,21 +22,6 @@ * rather than instantiating a unique class. */ public enum PredefinedCreature implements IPredefinedCreature { - WitherSkeleton(new IPredefinedCreature() { - @Override - public boolean isInstance(LivingEntity living) { - return living instanceof Skeleton && - ((Skeleton) living).getSkeletonType() == SkeletonType.WITHER; - } - - @Override - public LivingEntity spawn(Location loc) { - Skeleton skeleton = loc.getWorld().spawn(loc, Skeleton.class); - skeleton.setSkeletonType(SkeletonType.WITHER); - return skeleton; - } - }), - SaddledPig(new IPredefinedCreature() { @Override public boolean isInstance(LivingEntity living) {