Browse Source

login crash bug

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
6dac5c7ec8
  1. 4
      src/engine/objects/PlayerCharacter.java

4
src/engine/objects/PlayerCharacter.java

@ -4801,6 +4801,10 @@ public class PlayerCharacter extends AbstractCharacter { @@ -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) {

Loading…
Cancel
Save