From 6e1e50ae20766c693d6c770c66eea232cdcbf297 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Fri, 29 Jan 2021 02:46:30 +0100 Subject: [PATCH] Minor fix --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 4f118b5..36e8a7c 100644 --- a/init.lua +++ b/init.lua @@ -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)