Page 1 of 1

requesting invalid inventory for an entity is a crash

Posted: Sat Jun 04, 2016 8:48 am
by sparr
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.

Re: requesting invalid inventory for an entity is a crash

Posted: Sat Jun 04, 2016 3:09 pm
by Rseding91
Agreed. Implemented for 0.13.