miPlayer.saveGameMode(groupFrom);
miPlayer.saveExperience(groupFrom);
loadPlayerState(player, groupTo);
// Save the player's current world
MIYamlFiles.savePlayerLogoutWorld(player.getName(), groupTo);
ChangeInventoryEvent eventcall = new ChangeInventoryEvent(respawn.getWorld(),player.getWorld(),player);
Bukkit.getServer().getPluginManager().callEvent(eventcall);
}
}