Do not use elepower helper here
This commit is contained in:
Evert Prants 2023-12-22 18:59:43 +00:00
parent 5b7d61d7d9
commit 778f1b12d7

@ -66,7 +66,7 @@ function fluid_lib.buffer_accepts_fluid(pos, buffer, fluid)
for _,pf in pairs(bfdata.accepts) do
if pf == fluid then
return true
elseif pf:match("^group") and ele.helpers.get_item_group(fluid, pf:gsub("group:", "")) then
elseif pf:match("^group") and minetest.get_item_group(fluid, pf:gsub("group:", "")) > 0 then
return true
end
end