mirror of
https://github.com/minetest-mods/areas.git
synced 2025-01-14 12:00: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)
|
||||
if minetest or minetest.get_modpath("worldedit") then
|
||||
if worldedit or minetest.get_modpath("worldedit") then
|
||||
if nil == playerName then
|
||||
return true;
|
||||
elseif minetest.check_player_privs(playerName, {worldedit = true}) then
|
||||
|
Loading…
Reference in New Issue
Block a user