m圜ontainter.store) returns an object with optional keys for each Resource Type, but is guaranteed to have a key for RESOURCE_ENERGY.
Screeps spawn full#
Screeps spawn update#
You may need to update your code to reflect this update (ex. Some original functions were incorrectly typed to not include null as a possible return.