This commit is contained in:
Joseph Pickard 2016-01-10 15:41:41 -05:00
parent 2dc928a7bf
commit c2fafceb86
1 changed files with 1 additions and 1 deletions

View File

@ -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