raiguard / RecipeBook

Recipe Book for Factorio.
MIT License
19 stars 9 forks source link

Recipe Book 3.5.3 crash on /rb-print-object #128

Closed cwitty closed 1 year ago

cwitty commented 1 year ago

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>