Minor fix
This commit is contained in:
parent
62f1d17fa7
commit
6e1e50ae20
2
init.lua
2
init.lua
|
@ -2535,7 +2535,7 @@ if rawget(_G, "worldedit") then
|
||||||
|
|
||||||
access = function(player)
|
access = function(player)
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
return check_privs(name, {server = true})
|
return worldedit.pages and check_privs(name, {server = true})
|
||||||
end,
|
end,
|
||||||
|
|
||||||
formspec = function(player, _, fs)
|
formspec = function(player, _, fs)
|
||||||
|
|
Ŝarĝante…
Reference in New Issue