mirror of
https://gitlab.icynet.eu/evert/fluid_lib.git
synced 2024-12-18 03:05:45 +01: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
|
for _,pf in pairs(bfdata.accepts) do
|
||||||
if pf == fluid then
|
if pf == fluid then
|
||||||
return true
|
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
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user