[Bleeding] Added EntityType to replace CreatureType.
This commit is contained in:
committed by
EvilSeph
parent
4b9f306913
commit
cbb9bc0fa3
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user