[0.14.1][Modding] LuaItemStack.grid Error Thrown

Bugs that are actually features.
User avatar
DedlySpyder
Filter Inserter
Filter Inserter
Posts: 254
Joined: Fri Jun 20, 2014 11:42 am
Contact:

[0.14.1][Modding] LuaItemStack.grid Error Thrown

Post by DedlySpyder »

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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15912
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.1][Modding] LuaItemStack.grid Error Thrown

Post by Rseding91 »

If you want to get ahold of me I'm almost always on Discord.
User avatar
DedlySpyder
Filter Inserter
Filter Inserter
Posts: 254
Joined: Fri Jun 20, 2014 11:42 am
Contact:

Re: [0.14.1][Modding] LuaItemStack.grid Error Thrown

Post by DedlySpyder »

Hm, I can't seem to duplicate what I was doing wrong earlier, so I guess it was on my end.

Sorry about that.
Post Reply

Return to “Not a bug”