From b1fc8b104fdabfe4ee3029b0e83c885bffe18520 Mon Sep 17 00:00:00 2001 From: mrkubax10 Date: Thu, 21 Mar 2024 11:39:57 +0100 Subject: [PATCH] Fix Chargepad formspec not updating --- machines/chargepad.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/chargepad.lua b/machines/chargepad.lua index c29a755..7c14396 100644 --- a/machines/chargepad.lua +++ b/machines/chargepad.lua @@ -152,7 +152,7 @@ chargepad.action=function(pos,node) if shouldUpdateFormspec then local def=minetest.registered_nodes[node.name] - def._industrialtest_updateFormspec(meta) + def._industrialtest_updateFormspec(pos) end end