|
|
@ -414,7 +414,6 @@ function lc_liberties.handle_dig(pos, node, digger) |
|
|
|
local count = 0 |
|
|
|
local count = 0 |
|
|
|
for i, v in pairs(connected_group(pos)) do |
|
|
|
for i, v in pairs(connected_group(pos)) do |
|
|
|
count = count + 1 |
|
|
|
count = count + 1 |
|
|
|
smokecontrol(v) |
|
|
|
|
|
|
|
nodecore.set_loud(v, {name = "air"}) |
|
|
|
nodecore.set_loud(v, {name = "air"}) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
@ -422,7 +421,6 @@ function lc_liberties.handle_dig(pos, node, digger) |
|
|
|
|
|
|
|
|
|
|
|
return true |
|
|
|
return true |
|
|
|
else |
|
|
|
else |
|
|
|
smokecontrol(pos) |
|
|
|
|
|
|
|
return minetest.node_dig(pos, node, digger) |
|
|
|
return minetest.node_dig(pos, node, digger) |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|