Change this back

This commit is contained in:
fullwall 2012-12-10 19:01:09 +08:00
parent 6d6dec8e7a
commit 2e3df17bcf

View File

@ -62,8 +62,7 @@ public class AStarNavigationStrategy extends AbstractPathStrategy {
.playEffect(vector.toLocation(npc.getBukkitEntity().getWorld()), Effect.STEP_SOUND,
org.bukkit.Material.STONE.getId());
}
NMS.setDestination(npc.getBukkitEntity(), vector.getBlockX(), vector.getBlockY() + 2,
vector.getBlockZ(), params.speed());
NMS.setDestination(npc.getBukkitEntity(), vector.getX(), vector.getY(), vector.getZ(), params.speed());
return false;
}