filter_slot_count error on non-inserter
Posted: Fri Aug 05, 2016 10:17 pm
recently you added
request_slot_count :: uint [R] The number of request slots this entity has.
this function returns 0 in case of entities which do not have/support request slots.
and also
filter_slot_count :: uint [R] The number of filter slots this inserter has.
but this variable triggers an error if it's not an inserter.
It would be nice if it returns also 0 in case of any entities that does not have/support filters, no ?
request_slot_count :: uint [R] The number of request slots this entity has.
this function returns 0 in case of entities which do not have/support request slots.
and also
filter_slot_count :: uint [R] The number of filter slots this inserter has.
but this variable triggers an error if it's not an inserter.
It would be nice if it returns also 0 in case of any entities that does not have/support filters, no ?