When I try to access the .grid of an iron or steel armor, I get an error instead of just returning nil. This is an issue now that has_grid was removed.
Checking the prototype.equipment_grid returns nil, so I do have a workaround for the time being.
[0.14.1][Modding] LuaItemStack.grid Error Thrown
- DedlySpyder
- Filter Inserter
- Posts: 254
- Joined: Fri Jun 20, 2014 11:42 am
- Contact:
Re: [0.14.1][Modding] LuaItemStack.grid Error Thrown
No it doesn't: http://imgur.com/a/QqlH5
If you want to get ahold of me I'm almost always on Discord.
- DedlySpyder
- Filter Inserter
- Posts: 254
- Joined: Fri Jun 20, 2014 11:42 am
- Contact:
Re: [0.14.1][Modding] LuaItemStack.grid Error Thrown
Hm, I can't seem to duplicate what I was doing wrong earlier, so I guess it was on my end.
Sorry about that.
Sorry about that.