Set level EXP instead of total exp

This commit is contained in:
Daniel Saukel 2019-06-17 23:34:35 +02:00
parent cd2ee3421f
commit 86c09f6a72
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ public class DGamePlayer extends DInstancePlayer {
}
// Reset lvl
getPlayer().setTotalExperience(0);
getPlayer().setExp(0f);
getPlayer().setLevel(0);
/* Set Inventory */

View File

@ -75,7 +75,7 @@ public abstract class DInstancePlayer extends DGlobalPlayer {
public void clearPlayerData() {
player.getInventory().clear();
player.getInventory().setArmorContents(null);
player.setTotalExperience(0);
player.setExp(0f);
player.setLevel(0);
player.setMaxHealth(20);
player.setHealth(20);