public void setSpawnEye(World world, Location location){
	if (customConfigurationFile == null) {
		customConfigurationFile = new File(plugin.getDataFolder(), "spawn.yml");
	}
	customConfig = YamlConfiguration.loadConfiguration(customConfigurationFile);
	
	String worldName = world.getName();
	for (String worldN : plugin.mainWorlds){
		if (worldName.startsWith(worldN + "_")){
			//World is a copy world
			worldName = worldN;
		}
	}
	
	String worldGet = customConfig.getString(worldName);
	
	if (worldGet != null){
		customConfig.set(worldName + ".yaw", location.getYaw());
		customConfig.set(worldName + ".pitch", location.getPitch());
	}else{
		customConfig.createSection(worldName);
		customConfig.createSection(worldName + ".yaw");
		customConfig.createSection(worldName + ".pitch");
		customConfig.set(worldName + ".yaw", location.getYaw());
		customConfig.set(worldName + ".pitch", location.getPitch());
	}
	
	if (customConfig == null || customConfigurationFile == null) {
	    return;
	    }
	    try {
	        customConfig.save(customConfigurationFile);
	        plugin.setSpawnEye.put(worldName, location);
	        Bukkit.getWorld(worldName).setSpawnLocation(location.getBlockX(), location.getBlockY(), location.getBlockZ());
	    } catch (IOException ex) {
	        plugin.logMessage("Could not save config to " + customConfigurationFile);
	    }
	}