mirror of
https://github.com/minetest-mods/areas.git
synced 2025-07-06 01:50:23 +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)
|
||||
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
|
||||
|
Reference in New Issue
Block a user