From 14b0387c04baa99eda0c8468423a3299fbe2ee49 Mon Sep 17 00:00:00 2001 From: fullwall Date: Tue, 26 Mar 2013 22:08:38 +0800 Subject: [PATCH] Compile fix --- .../java/net/citizensnpcs/npc/entity/HumanController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/citizensnpcs/npc/entity/HumanController.java b/src/main/java/net/citizensnpcs/npc/entity/HumanController.java index c9f38da14..07b6e9259 100644 --- a/src/main/java/net/citizensnpcs/npc/entity/HumanController.java +++ b/src/main/java/net/citizensnpcs/npc/entity/HumanController.java @@ -7,7 +7,7 @@ import net.citizensnpcs.api.util.Colorizer; import net.citizensnpcs.npc.AbstractEntityController; import net.citizensnpcs.util.NMS; import net.minecraft.server.v1_5_R2.PlayerInteractManager; -import net.minecraft.server.v1_5_R2.WorldServer; +import net.minecraft.server.v1_5_R2.World; import org.bukkit.Bukkit; import org.bukkit.Location; @@ -18,7 +18,7 @@ import org.bukkit.entity.Player; public class HumanController extends AbstractEntityController { @Override protected LivingEntity createEntity(final Location at, final NPC npc) { - WorldServer ws = ((CraftWorld) at.getWorld()).getHandle(); + World ws = ((CraftWorld) at.getWorld()).getHandle(); final EntityHumanNPC handle = new EntityHumanNPC(ws.getServer().getServer(), ws, Colorizer.parseColors(npc .getFullName()), new PlayerInteractManager(ws), npc); handle.getBukkitEntity().teleport(at);