[Bleeding] Added EntityType to replace CreatureType.

This commit is contained in:
Celtic Minstrel
2012-02-06 00:19:23 -05:00
committed by EvilSeph
parent 7792156fb2
commit af51313ffb
49 changed files with 280 additions and 86 deletions

View File

@@ -5,6 +5,7 @@ import java.util.Collection;
import net.minecraft.server.EntityPotion;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.ThrownPotion;
import org.bukkit.potion.Potion;
import org.bukkit.potion.PotionEffectType;
@@ -34,4 +35,8 @@ public class CraftThrownPotion extends CraftProjectile implements ThrownPotion {
public String toString() {
return "CraftThrownPotion";
}
public EntityType getType() {
return EntityType.SPLASH_POTION;
}
}