[2.1.9] luaentity::get_filter() returns nil on storage chest ghosts

Post your bugs and problems so we can fix them.
User avatar
Quezler
Filter Inserter
Filter Inserter
Posts: 329
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

[2.1.9] luaentity::get_filter() returns nil on storage chest ghosts

Post by Quezler »

- place storage chest ghost
- set a filter
- /c game.print(serpent.block(game.player.selected.get_filter(1)))
- nil

expected behavior: for it to succeed, just like inserters, and reading the filter from ghosts already works.

the this->sections.compiled.empty() check within LogisticPointFilters::getStorageFilter seems to be the culprit, or at least involved.
Post Reply

Return to “Bug Reports”