[0.18.9] LuaEntity::splitter_filter doesn't accept LuaItemPrototype
Posted: Sat Feb 29, 2020 8:41 pm
The documentation for LuaEntity::splitter_filter indicates it's a read-write of LuaItemPrototype. Reading from this property does correctly return a LuaItemPrototype, but attempting to write one gives "string expected, got table". Writing with the name of the item prototype works correctly.
Expected: writing either a string (name of an item) or an actual LuaItemPrototype should set the splitter's filter.
Actual: only writing a string works, writing a LuaItemPrototype results in an error.
Expected: writing either a string (name of an item) or an actual LuaItemPrototype should set the splitter's filter.
Actual: only writing a string works, writing a LuaItemPrototype results in an error.