diff options
author | Celtic Minstrel <celtic.minstrel.ca@some.place> | 2012-02-06 00:19:23 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-22 22:06:29 -0500 |
commit | af51313ffb1b13de031ad66512c1cd2722a1c730 (patch) | |
tree | 1d21e1dd01f815727cf148532a38b5357bf628df /src/main/java/net/minecraft/server | |
parent | 7792156fb25d25103d4a5e8ccfd563ff1707560d (diff) | |
download | craftbukkit-af51313ffb1b13de031ad66512c1cd2722a1c730.tar craftbukkit-af51313ffb1b13de031ad66512c1cd2722a1c730.tar.gz craftbukkit-af51313ffb1b13de031ad66512c1cd2722a1c730.tar.lz craftbukkit-af51313ffb1b13de031ad66512c1cd2722a1c730.tar.xz craftbukkit-af51313ffb1b13de031ad66512c1cd2722a1c730.zip |
[Bleeding] Added EntityType to replace CreatureType.
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityEgg.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/EntityEgg.java b/src/main/java/net/minecraft/server/EntityEgg.java index 76490d10..4b311eb7 100644 --- a/src/main/java/net/minecraft/server/EntityEgg.java +++ b/src/main/java/net/minecraft/server/EntityEgg.java @@ -3,7 +3,7 @@ package net.minecraft.server; // CraftBukkit start import org.bukkit.Location; import org.bukkit.entity.Animals; -import org.bukkit.entity.CreatureType; +import org.bukkit.entity.EntityType; import org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason; import org.bukkit.event.player.PlayerEggThrowEvent; // CraftBukkit end @@ -36,7 +36,7 @@ public class EntityEgg extends EntityProjectile { numHatching = 0; } - CreatureType hatchingType = CreatureType.CHICKEN; + EntityType hatchingType = EntityType.CHICKEN; if (this.shooter instanceof EntityPlayer) { org.bukkit.entity.Player player = (this.shooter == null) ? null : (org.bukkit.entity.Player) this.shooter.getBukkitEntity(); @@ -46,7 +46,7 @@ public class EntityEgg extends EntityProjectile { hatching = event.isHatching(); numHatching = event.getNumHatches(); - hatchingType = event.getHatchType(); + hatchingType = event.getHatchingType(); } if (hatching) { |