[0.17.64] on_built_entity always has item_requests = nil
Posted: Sat Aug 10, 2019 6:10 am
Problem:
When building an entity containing modules the entity returned by on_built_entity and on_robot_built_entity have item_requests = nil.
Reproduce:
Create a ghost with modules.
Build only the entity.
The entity returned in the build events does not contain item_requests.
Later in tick handler the entity again has item_requests set.
Expected:
Entity returned by build events contains the same item_requests as the ghost.
When building an entity containing modules the entity returned by on_built_entity and on_robot_built_entity have item_requests = nil.
Reproduce:
Create a ghost with modules.
Build only the entity.
The entity returned in the build events does not contain item_requests.
Later in tick handler the entity again has item_requests set.
Expected:
Entity returned by build events contains the same item_requests as the ghost.