diff --git a/protector/init.lua b/protector/init.lua index 3a1d622..cae0cd5 100644 --- a/protector/init.lua +++ b/protector/init.lua @@ -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