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.
[0.18.9] LuaEntity::splitter_filter doesn't accept LuaItemPrototype
[0.18.9] LuaEntity::splitter_filter doesn't accept LuaItemPrototype
Miniloader — UPS-friendly 1x1 loaders
Bulk Rail Loaders — Rapid train loading and unloading
Beltlayer & Pipelayer — Route items and fluids freely underground
Bulk Rail Loaders — Rapid train loading and unloading
Beltlayer & Pipelayer — Route items and fluids freely underground
Re: [0.18.9] LuaEntity::splitter_filter doesn't accept LuaItemPrototype
Thanks for the report. It's now resolved for the next release.
If you want to get ahold of me I'm almost always on Discord.