Browse Source

resource stacking bug

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
a6cf68ef07
  1. 2
      src/engine/objects/CharacterItemManager.java

2
src/engine/objects/CharacterItemManager.java

@ -1265,7 +1265,7 @@ public class CharacterItemManager {
} }
} }
} }
i.setNumOfItems(count); i = new MobLoot(this.getOwner(),i.getItemBase(),count,false).promoteToItem((PlayerCharacter)this.getOwner());
} }
this.inventory.add(i); this.inventory.add(i);
this.itemIDtoType.put(i.getObjectUUID(), i.getObjectType().ordinal()); this.itemIDtoType.put(i.getObjectUUID(), i.getObjectType().ordinal());

Loading…
Cancel
Save