summaryrefslogtreecommitdiff
path: root/worldedit_gui/init.lua
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2017-05-13 11:51:02 +0200
committersfan5 <sfan5@live.de>2017-05-13 11:51:36 +0200
commita31f955fb1e5c512f4559452aa65f590fbbc8d6c (patch)
tree8dc28a5766a83a7a298d67b1009bbdeb5bc0250c /worldedit_gui/init.lua
parent38e9b42caf66d6ee1e78bfc27b98c6d131c4d1b9 (diff)
Refactor priv determination in worldedit_gui
Diffstat (limited to 'worldedit_gui/init.lua')
-rw-r--r--worldedit_gui/init.lua1
1 files changed, 1 insertions, 0 deletions
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