mirror of
https://github.com/minetest-mods/areas.git
synced 2025-08-06 16:50:21 +02:00
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user