Skip to content
Permalink
Browse files

Forgot this one during refactor (a31f955)

  • Loading branch information
sfan5 committed May 13, 2017
1 parent 66b1fa0 commit 3240167b13cce44fd007c9a088bf9445a6b26ed4
Showing with 2 additions and 1 deletion.
  1. +2 −1 worldedit_gui/functionality.lua
@@ -734,7 +734,8 @@ worldedit.register_gui_handler("worldedit_gui_save_load", function(name, fields)
end)

worldedit.register_gui_function("worldedit_gui_lua", {
name = "Run Lua", privs = minetest.chatcommands["/clearobjects"].privs,
name = "Run Lua",
privs = we_privs("lua"),
get_formspec = function(name)
local code = gui_code[name]
return "size[8,6.5]" .. worldedit.get_formspec_header("worldedit_gui_lua") ..

0 comments on commit 3240167

Please sign in to comment.
You can’t perform that action at this time.