summaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authorCeltic Minstrel <celtic.minstrel.ca@some.place>2012-02-14 23:52:38 -0500
committerEvilSeph <evilseph@gmail.com>2012-02-22 22:06:19 -0500
commitce4a390b00fa6cec9b9d9941e2a2b09b8f9e8b6b (patch)
treecf887d6dd661dc1cc38516c095aa5e4a85d81a9b /src/test/java
parent4475ea7718d29d0fb69c3bf955ad5c16b8c1e324 (diff)
downloadbukkit-ce4a390b00fa6cec9b9d9941e2a2b09b8f9e8b6b.tar
bukkit-ce4a390b00fa6cec9b9d9941e2a2b09b8f9e8b6b.tar.gz
bukkit-ce4a390b00fa6cec9b9d9941e2a2b09b8f9e8b6b.tar.lz
bukkit-ce4a390b00fa6cec9b9d9941e2a2b09b8f9e8b6b.tar.xz
bukkit-ce4a390b00fa6cec9b9d9941e2a2b09b8f9e8b6b.zip
[Bleeding] Added EntityType to replace CreatureType.
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/bukkit/plugin/messaging/TestPlayer.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java b/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java
index 63180720..ef2e737b 100644
--- a/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java
+++ b/src/test/java/org/bukkit/plugin/messaging/TestPlayer.java
@@ -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;
+ }
}