Změnit "protector/init.lua"
This commit is contained in:
parent
a06960581c
commit
db8fa06bb9
1 changed files with 5 additions and 5 deletions
|
@ -681,11 +681,11 @@ if minetest.get_modpath("mesecons_mvps") then
|
||||||
mesecon.register_mvps_stopper("protector:chest")
|
mesecon.register_mvps_stopper("protector:chest")
|
||||||
local old = mesecon.mvps_is_protected
|
local old = mesecon.mvps_is_protected
|
||||||
function mesecon.mvps_is_protected(pos, ...)
|
function mesecon.mvps_is_protected(pos, ...)
|
||||||
if not protector.can_dig(protector_radius, pos, "mvps", false, 1, true) then
|
if not protector.can_dig(protector_radius, pos, "mvps", false, 1, true) then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
return old(pos, ...)
|
return old(pos, ...)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue