LuaEntityPrototype::logistic_mode read not restricted
Posted: Fri Jun 13, 2025 12:09 pm
Typically the "Can only be used if this is X" error when you call it from the wrong type, this one returns nil then.
Ideally that notice gets edited, or the api call crashes if its not a logistics or infinity container, also dropping the optional return.
Ideally that notice gets edited, or the api call crashes if its not a logistics or infinity container, also dropping the optional return.