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 // Reset lvl
getPlayer().setTotalExperience(0); getPlayer().setExp(0f);
getPlayer().setLevel(0); getPlayer().setLevel(0);
/* Set Inventory */ /* Set Inventory */

View File

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