Minor fix

This commit is contained in:
Jean-Patrick Guerrero 2021-01-29 02:46:30 +01:00
parent 62f1d17fa7
commit 6e1e50ae20

View File

@ -2535,7 +2535,7 @@ if rawget(_G, "worldedit") then
access = function(player)
local name = player:get_player_name()
return check_privs(name, {server = true})
return worldedit.pages and check_privs(name, {server = true})
end,
formspec = function(player, _, fs)