[0.18.9] LuaEntity::splitter_filter doesn't accept LuaItemPrototype

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Therax
Filter Inserter
Filter Inserter
Posts: 470
Joined: Sun May 21, 2017 6:28 pm
Contact:

[0.18.9] LuaEntity::splitter_filter doesn't accept LuaItemPrototype

Post by Therax »

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.
Miniloader — UPS-friendly 1x1 loaders
Bulk Rail Loaders — Rapid train loading and unloading
Beltlayer & Pipelayer — Route items and fluids freely underground

Rseding91
Factorio Staff
Factorio Staff
Posts: 13173
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.18.9] LuaEntity::splitter_filter doesn't accept LuaItemPrototype

Post by Rseding91 »

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.

Post Reply

Return to “Resolved Problems and Bugs”