SpoutClient.getHandle().thePlayer.setSpawnChunk(new ChunkCoordinates(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ()), true);
SpoutClient.getHandle().theWorld.getWorldInfo().setSpawnPosition(loc.getBlockX(), loc.getBlockY(), loc.getBlockZ());
}
public Location getCompassTarget() {
ChunkCoordinates coords = SpoutClient.getHandle().thePlayer.getBedLocation();
return new MutableLocation(coords.posX, coords.posY, coords.posZ);
}