From f72f632cd8d2e0410cf0d02eb4d34336e8994f56 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 3 Jan 2025 19:19:19 -0600 Subject: [PATCH] login crash bug --- src/engine/objects/PlayerCharacter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 5fe799b8..919cb48b 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -4876,7 +4876,7 @@ public class PlayerCharacter extends AbstractCharacter { this.timestamps.put("nextBoxCheck", System.currentTimeMillis() + 10000); } - if(this.level < 10) { + if(this.level < 10 && this.enteredWorld) { // this.setLevel((short) 10); while (this.level < 10) { grantXP(Experience.getBaseExperience(this.level + 1) - this.exp);