login crash bug

This commit is contained in:
2024-03-10 12:48:05 -05:00
parent 6dac5c7ec8
commit afc91e22e5
2 changed files with 8 additions and 7 deletions
@@ -1272,6 +1272,7 @@ public class CharacterItemManager {
Item resource = new MobLoot(this.getOwner(),i.getItemBase(),count,false).promoteToItem((PlayerCharacter)this.getOwner());
this.inventory.add(resource);
this.itemIDtoType.put(resource.getObjectUUID(), resource.getObjectType().ordinal());
this.updateInventory(purge,false);
return true;
}
this.inventory.add(i);