[Bleeding] Added EntityType to replace CreatureType.

This commit is contained in:
Celtic Minstrel
2012-02-14 23:52:38 -05:00
committed by EvilSeph
parent 4b9f306913
commit cbb9bc0fa3
8 changed files with 261 additions and 16 deletions

View File

@@ -12,6 +12,7 @@ import org.bukkit.block.Block;
import org.bukkit.entity.Arrow;
import org.bukkit.entity.Egg;
import org.bukkit.entity.Entity;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.Player;
import org.bukkit.entity.Snowball;
import org.bukkit.entity.Vehicle;
@@ -648,4 +649,8 @@ public class TestPlayer implements Player {
public Collection<PotionEffect> getActivePotionEffects() {
throw new UnsupportedOperationException("Not supported yet.");
}
public EntityType getType() {
return EntityType.PLAYER;
}
}