forked from VoxeLibre/VoxeLibre
fix crash
This commit is contained in:
parent
451a59c8a8
commit
14c19c915f
|
@ -72,7 +72,7 @@ function mcl_sponges.absorb(pos)
|
|||
for k=-3,3 do
|
||||
pos = {x=pos.x+i, y=pos.y+j, z=pos.z+k}
|
||||
node = minetest.get_node(pos)
|
||||
for name,def in mcl_sponges.registered_sponges do
|
||||
for name,def in pairs(mcl_sponges.registered_sponges) do
|
||||
if minetest.get_item_group(node.name, def.liquidgroup) ~= 0 then
|
||||
minetest.add_node(pos, {name="air"})
|
||||
change = true
|
||||
|
|
Loading…
Reference in New Issue