mirror of
https://github.com/minetest-mods/i3.git
synced 2024-12-27 11:20:40 +01:00
Minor fix
This commit is contained in:
parent
62f1d17fa7
commit
6e1e50ae20
2
init.lua
2
init.lua
@ -2535,7 +2535,7 @@ if rawget(_G, "worldedit") then
|
|||||||
|
|
||||||
access = function(player)
|
access = function(player)
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
return check_privs(name, {server = true})
|
return worldedit.pages and check_privs(name, {server = true})
|
||||||
end,
|
end,
|
||||||
|
|
||||||
formspec = function(player, _, fs)
|
formspec = function(player, _, fs)
|
||||||
|
Loading…
Reference in New Issue
Block a user