mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-11-16 07:10:32 +01:00
break
This commit is contained in:
parent
74f2d2a8a5
commit
b224bb9e9b
|
@ -174,7 +174,8 @@ end
|
|||
local function can_dig(pos, player)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local owner = meta:get_string("owner")
|
||||
return owner == "" or owner == player:get_player_name() or minetest.check_player_privs(player, "protection_bypass")
|
||||
return owner == "" or owner == player:get_player_name() or
|
||||
minetest.check_player_privs(player, "protection_bypass")
|
||||
end
|
||||
|
||||
minetest.register_node("mesecons_commandblock:commandblock_off", {
|
||||
|
|
Loading…
Reference in New Issue
Block a user