diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 830be3ab..52192c8b 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -209,7 +209,7 @@ public class PlayerCharacter extends AbstractCharacter { this.guildStatus = new AtomicInteger(0); this.buildingUUID = -1; - this.level = 10; + this.setLevel((short)10); } /** @@ -1290,7 +1290,8 @@ public class PlayerCharacter extends AbstractCharacter { //get level based on experience player.level = (short) Experience.getLevel(player.exp); - + if(player.level < 10) + player.setLevel((short)10); player.setHealth(999999f); player.mana.set(999999f); player.stamina.set(999999f);