Fixer
2018-07-15 395089dfd83a797ef408a28a8087276b8845bd3d
Wrench: Allow picking up with protection_bypass privilege (#393)

This allows admins to move other players locked chests/etc without hassle (relocating flying chests).
1 files modified
2 ■■■ changed files
wrench/init.lua 2 ●●● patch | view | raw | blame | history
wrench/init.lua
@@ -120,7 +120,7 @@
            return
        end
        local meta = minetest.get_meta(pos)
        if def.owned then
        if def.owned and not minetest.check_player_privs(placer, "protection_bypass") then
            local owner = meta:get_string("owner")
            if owner and owner ~= player_name then
                minetest.log("action", player_name..