SHOW:
|
|
- or go back to the newest paste.
1 | local function has_locked_chest_privilege(meta, player) | |
2 | - | if player:get_player_name() ~= meta:get_string("owner") or (minetest.get_player_privs(player:get_player_name()).server) then |
2 | + | if player:get_player_name() ~= meta:get_string("owner") or not (minetest.get_player_privs(player:get_player_name()).server) then |
3 | return false | |
4 | end | |
5 | return true | |
6 | end |