[2.0.60] LuaItemPrototype::flags is optional

Place to report issues and suggest improvements to the API documentation.
User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 88
Joined: Sat Mar 05, 2022 11:30 am
Contact:

[2.0.60] LuaItemPrototype::flags is optional

Post by _CodeGreen »

Title says it all pretty much. The field says the dictionary is always present, and it is in fact not always present, specifically when the item prototype has no flags.
Thank you!
My Mods | If you can't make it perfect, make it adjustable
Rseding91
Factorio Staff
Factorio Staff
Posts: 15867
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.60] LuaItemPrototype::flags is optional

Post by Rseding91 »

I've changed it for the next release so it will always push a table.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Documentation Improvement Requests”