Fixes loot tables with actors in them. It is retrieving a "quantity" field in the actor data. Of course, actors don't have quantity in the same way that items do. Actors represent a quantity of 1. Checks for actors and uses a quantity of 1.
As a background, I'm using loot tables to roll for encounters. I noticed the count was doubled, and realized it was retrieving the data from an actor saying it had a quantity 2, as though it was an item.
As a background, I'm using loot tables to roll for encounters. I noticed the count was doubled, and realized it was retrieving the data from an actor saying it had a quantity 2, as though it was an item.