mirror of
https://github.com/minetest-mods/i3.git
synced 2025-06-23 20:20:23 +02: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)
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user