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")
|
||||
local old = mesecon.mvps_is_protected
|
||||
function mesecon.mvps_is_protected(pos, ...)
|
||||
if not protector.can_dig(protector_radius, pos, "mvps", false, 1, true) then
|
||||
return true
|
||||
end
|
||||
return old(pos, ...)
|
||||
end
|
||||
if not protector.can_dig(protector_radius, pos, "mvps", false, 1, true) then
|
||||
return true
|
||||
end
|
||||
return old(pos, ...)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue