Browse Source

Require server priv

tags/1.3.0
Wuzzy 2 weeks ago
parent
commit
fedc4c51fa
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      init.lua

+ 1
- 2
init.lua View File

@@ -26,8 +26,7 @@ local function renumber(t)
return res
end

minetest.register_privilege("schemedit")
local NEEDED_PRIV = "schemedit"
local NEEDED_PRIV = "server"
local function check_priv(player_name, quit)
local privs = minetest.get_player_privs(player_name)
if privs[NEEDED_PRIV] then


Loading…
Cancel
Save