// Update the world in the main file
CommonTagCompound maincompound = read(mainFile, human);
maincompound.put("Pos", tagcompound.get("Pos"));
maincompound.put("Rotation", tagcompound.get("Rotation"));
maincompound.putUUID("World", human.getWorld().getUID());
maincompound.writeTo(mainFile);
}
} catch (Exception exception) {
Bukkit.getLogger().warning("Failed to save player data for " + human.getName());
exception.printStackTrace();
}