Fix typo causing undeclared global warning
This commit is contained in:
parent
da8361cdf6
commit
1a8ae6543d
@ -139,7 +139,7 @@ minetest.register_abm( {
|
||||
action = function ( pos, node )
|
||||
local meta = minetest.get_meta( pos )
|
||||
local inv = meta:get_inventory()
|
||||
local cresult, newinput, needed
|
||||
local result, newinput, needed
|
||||
if not inv:is_empty( 'src' ) then
|
||||
-- Check for a valid recipe and sufficient resources to craft it
|
||||
needed, newinput, result = get_recipe( inv )
|
||||
|
Loading…
x
Reference in New Issue
Block a user