How am I meant to test empty ItemStacks from crafting recipes? #80
Labels
bug
Something isn't working
in-latest-docker
Included with latest docker images, might not yet be available elsewhere
Hi,
So I am implementing a privileged-protected recipe system using
register_craft_predict
andregister_on_craft
. In these callbacks you get a table with 9 ItemStacks, and in my test for the empty slots in the grid I thought I would insertItemStack("")
, but the source of Mineunit says it's meant to cause an error with an empty string. I don't think my function will work without "" as the argument though. Do you know how I should proceed?Code is here:
The text was updated successfully, but these errors were encountered: