diff --git a/sfinv_buttons/init.lua b/sfinv_buttons/init.lua index 4628575..29ad920 100644 --- a/sfinv_buttons/init.lua +++ b/sfinv_buttons/init.lua @@ -87,7 +87,7 @@ smart_sfinv_api.register_enhancement({ for idx = 1, last_button do local def = sfinv_buttons.registered_buttons[idx] if def and fields[def.button_name] and def.action then - def.action(player, context, content, show_inv) + def.action(player, context, fields) break end end