From 7a400bb1b99bd1475c834cb1a189cbffaa2695f6 Mon Sep 17 00:00:00 2001 From: Joseph Pickard Date: Sun, 10 Jan 2016 13:24:22 -0500 Subject: [PATCH] Fixed useWorldedit function. --- pos.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pos.lua b/pos.lua index 4ae6900..9b91755 100644 --- a/pos.lua +++ b/pos.lua @@ -120,7 +120,7 @@ minetest.register_chatcommand("area_pos", { function areas.useWorldedit(playerName) if minetest.get_modpath("worldedit") then - return nil == playerName or minetest.check_player_privs(playerName, "worldedit"); + return nil == playerName or minetest.check_player_privs(playerName, {worldedit = true}); else return false; end