minetest-mods / craftguide

:book: The most comprehensive Crafting Guide on Minetest
Other
43 stars 20 forks source link

Fix crash when inv_items contains an unknown item #73

Closed p-ouellette closed 5 years ago

SmallJoker commented 5 years ago

Are you sure about that? itemdef is equal to inv_item, thus you're checking the same thing twice.

p-ouellette commented 5 years ago

I was on an old commit and somehow didn't notice that it was fixed when I rebased.