requesting invalid inventory for an entity is a crash
Posted: Sat Jun 04, 2016 8:48 am
entity.get_inventory(1) should just return nil if the entity doesn't have inventory #1, rather than crashing.
this bug report parallels my feature request for some way to find out which inventories an entity has.
this bug report parallels my feature request for some way to find out which inventories an entity has.