mirror of
https://github.com/minetest-mods/areas.git
synced 2025-01-15 04:20:26 +01:00
This commit is contained in:
parent
2dc928a7bf
commit
c2fafceb86
2
pos.lua
2
pos.lua
@ -119,7 +119,7 @@ minetest.register_chatcommand("area_pos", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
function areas.useWorldedit(playerName)
|
function areas.useWorldedit(playerName)
|
||||||
if minetest or minetest.get_modpath("worldedit") then
|
if worldedit or minetest.get_modpath("worldedit") then
|
||||||
if nil == playerName then
|
if nil == playerName then
|
||||||
return true;
|
return true;
|
||||||
elseif minetest.check_player_privs(playerName, {worldedit = true}) then
|
elseif minetest.check_player_privs(playerName, {worldedit = true}) then
|
||||||
|
Loading…
Reference in New Issue
Block a user