From 2c6077716bc11f1c9178787a1c41eeacd977d504 Mon Sep 17 00:00:00 2001 From: OgelGames Date: Mon, 8 Jul 2024 15:26:58 +1000 Subject: [PATCH] fix compatibility with minetest-mods/technic closes #9 --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 810467d..77c9ccc 100644 --- a/init.lua +++ b/init.lua @@ -75,6 +75,9 @@ end if technic.plus then set_charge = technic.set_RE_charge get_charge = technic.get_RE_charge +elseif technic.set_charge and technic.get_charge then + set_charge = technic.set_charge + get_charge = technic.get_charge end local function charge_item(stack, powerbank_charge, charge_step)