diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-03-07 16:32:41 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-03-07 16:32:41 +0000 |
commit | e8e74992cbe4f9f2eea78c365019c357eca112e8 (patch) | |
tree | 3994fd8623ac86f653ddc932e63a02b15a862f0b /src/main/java/net/minecraft/server/EntityEgg.java | |
parent | 6a99d8c412ab33930edd7e78b760510b7ebe3fab (diff) | |
download | craftbukkit-e8e74992cbe4f9f2eea78c365019c357eca112e8.tar craftbukkit-e8e74992cbe4f9f2eea78c365019c357eca112e8.tar.gz craftbukkit-e8e74992cbe4f9f2eea78c365019c357eca112e8.tar.lz craftbukkit-e8e74992cbe4f9f2eea78c365019c357eca112e8.tar.xz craftbukkit-e8e74992cbe4f9f2eea78c365019c357eca112e8.zip |
Purged deprecated MobType and MobSpawner
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityEgg.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityEgg.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/EntityEgg.java b/src/main/java/net/minecraft/server/EntityEgg.java index f9044d63..ad31f3c6 100644 --- a/src/main/java/net/minecraft/server/EntityEgg.java +++ b/src/main/java/net/minecraft/server/EntityEgg.java @@ -3,8 +3,8 @@ package net.minecraft.server; import java.util.List; // CraftBukkit start +import org.bukkit.entity.CreatureType; import org.bukkit.entity.Egg; -import org.bukkit.entity.MobType; import org.bukkit.entity.Player; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.event.Event.Type; @@ -188,7 +188,8 @@ public class EntityEgg extends Entity { if (!hatching) { numHatching = 0; } - MobType hatchingType = MobType.CHICKEN; + + CreatureType hatchingType = CreatureType.CHICKEN; if (this.g instanceof EntityPlayer) { CraftServer server = ((WorldServer) this.world).getServer(); |