forked from VoxeLibre/VoxeLibre
fix crash
This commit is contained in:
parent
75689afdb4
commit
d94fc9e696
|
@ -103,7 +103,7 @@ function mcl_sponges.absorb(pos)
|
|||
end
|
||||
|
||||
end
|
||||
return change, sponge_type
|
||||
return change, mcl_sponges.registered_sponges[sponge_type].itemname
|
||||
end
|
||||
|
||||
|
||||
|
@ -271,7 +271,7 @@ mcl_sponges.register_sponge("riverwater", {
|
|||
minetest.register_abm({
|
||||
label = "Sponge water absorbtion",
|
||||
nodenames = { "mcl_sponges:sponge" },
|
||||
neighbors = { "group:water" },
|
||||
neighbors = { "group:water" }, -- FIXME
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
|
|
Loading…
Reference in New Issue