From 6dac5c7ec84fa7eccc58508d7087e81feab3d829 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 9 Mar 2024 21:47:03 -0600 Subject: [PATCH] login crash bug --- src/engine/objects/PlayerCharacter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/engine/objects/PlayerCharacter.java b/src/engine/objects/PlayerCharacter.java index 6687683a..0ba20715 100644 --- a/src/engine/objects/PlayerCharacter.java +++ b/src/engine/objects/PlayerCharacter.java @@ -4801,6 +4801,10 @@ public class PlayerCharacter extends AbstractCharacter { //} if(this.isEnteredWorld() && this.isActive() && this.getLevel() < 10){ this.setLevel((short) 10); + MobLoot conc = new MobLoot(this,ItemBase.getItemBase(980066),false); + this.getCharItemManager().addItemToInventory(conc); + this.getCharItemManager().addItemToInventory(conc.promoteToItem(this),1); + this.getCharItemManager().updateInventory(); } } catch (Exception e) {