return;
}
debug.i("restoring PlayerState of " + name, player);
player.setFireTicks(fireticks);
player.setFoodLevel(foodlevel);
<BUG>player.setGameMode(GameMode.getByValue(gamemode));</BUG>
final ArenaPlayer aPlayer = ArenaPlayer.parsePlayer(player.getName());
<BUG>player.setFoodLevel(foodlevel);
if (aPlayer.getArena().getArenaConfig().getInt(CFG.PLAYER_MAXHEALTH) > 0) {</BUG>
player.setMaxHealth(maxhealth);

return;
}
debug.i("restoring PlayerState of " + name, player);
player.setFireTicks(fireticks);
player.setFoodLevel(foodlevel);
final ArenaPlayer aPlayer = ArenaPlayer.parsePlayer(player.getName());
player.setFoodLevel(foodlevel);
if (aPlayer.getArena().getArenaConfig().getInt(CFG.GENERAL_GAMEMODE) > -1) {
player.setGameMode(GameMode.getByValue(gamemode));
