From d834ca4c6c6dd051e49ee177eb527c7494bd47bc Mon Sep 17 00:00:00 2001 From: EdGruberman Date: Sat, 22 Dec 2012 11:46:24 -0700 Subject: [Bleeding] Add experimental support for entity portal traveling --- src/main/java/net/minecraft/server/EntityHuman.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main/java/net/minecraft/server/EntityHuman.java') diff --git a/src/main/java/net/minecraft/server/EntityHuman.java b/src/main/java/net/minecraft/server/EntityHuman.java index 85663915..7afa68ef 100644 --- a/src/main/java/net/minecraft/server/EntityHuman.java +++ b/src/main/java/net/minecraft/server/EntityHuman.java @@ -4,8 +4,8 @@ import java.util.Iterator; import java.util.List; // CraftBukkit start +import org.bukkit.craftbukkit.entity.CraftHumanEntity; import org.bukkit.craftbukkit.entity.CraftItem; -import org.bukkit.entity.HumanEntity; import org.bukkit.entity.Player; import org.bukkit.event.entity.EntityCombustByEntityEvent; import org.bukkit.event.player.PlayerBedEnterEvent; @@ -37,8 +37,9 @@ public abstract class EntityHuman extends EntityLiving implements ICommandListen public boolean fauxSleeping; public String spawnWorld = ""; - public HumanEntity getBukkitEntity() { - return (HumanEntity) super.getBukkitEntity(); + @Override + public CraftHumanEntity getBukkitEntity() { + return (CraftHumanEntity) super.getBukkitEntity(); } // CraftBukkit end -- cgit v1.2.3