diff --git a/pos.lua b/pos.lua index 1f60532..3f19da0 100644 --- a/pos.lua +++ b/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