Skip to content

Commit

Permalink
fix compatibility with minetest-mods/technic
Browse files Browse the repository at this point in the history
closes #9
  • Loading branch information
OgelGames committed Jul 8, 2024
1 parent 5756021 commit 2c60777
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2c60777

Please sign in to comment.