} else {
MIPlayerFile config = new MIPlayerFile(player1, worldName);
config.saveInventory(new MIInventory(inventory, armor, effects), "SURVIVAL");
config.saveHealth(health);
config.saveHunger(hunger);
config.saveSaturation(saturation);
int[] levels = plugin.getXP(totalexp);
config.saveExperience(totalexp, levels[0], (float) ((float) levels[1] / (float) levels[2]));
}
}
PlayerProfile adventureplayerdata = worldprofile.getPlayerData(ProfileTypes.ADVENTURE, player1);