From a31f955fb1e5c512f4559452aa65f590fbbc8d6c Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sat, 13 May 2017 11:51:02 +0200 Subject: Refactor priv determination in worldedit_gui --- worldedit_gui/init.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'worldedit_gui/init.lua') diff --git a/worldedit_gui/init.lua b/worldedit_gui/init.lua index 12157b5..dafd7c2 100644 --- a/worldedit_gui/init.lua +++ b/worldedit_gui/init.lua @@ -243,6 +243,7 @@ end worldedit.register_gui_function("worldedit_gui", { name = "WorldEdit GUI", + privs = {interact=true}, get_formspec = function(name) --create a form with all the buttons arranged in a grid local buttons, x, y, index = {}, 0, 1, 0 -- cgit v1.2.3