Typing:
/rb-print-object
without giving it an argument causes a lua crash.
To Reproduce
Open the console and type:
/rb-print-object
Then a lua crash pops up that says:
Error while running command "rb-print-object": RecipeBook/control.lua:113: bad argument #1 of 3 to 'find' (string expected, got nil)
stack traceback:
[C]: in function 'find'
RecipeBook/control.lua:113: in function <RecipeBook/control.lua:107>
Describe the Bug
Typing: /rb-print-object without giving it an argument causes a lua crash.
To Reproduce
Open the console and type: /rb-print-object
Then a lua crash pops up that says:
Error while running command "rb-print-object": RecipeBook/control.lua:113: bad argument #1 of 3 to 'find' (string expected, got nil) stack traceback: [C]: in function 'find' RecipeBook/control.lua:113: in function <RecipeBook/control.lua:107>