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

This subforum contains all the issues which we already resolved.
User avatar
Quezler
Filter Inserter
Filter Inserter
Posts: 331
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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 17306
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report. This is now fixed 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”