Fix rename_area and buildable_to nodes on the edges of areas

This commit is contained in:
ShadowNinja
2013-09-03 17:09:11 -04:00
parent 7b0ff512f7
commit b1a4f878ef
3 changed files with 28 additions and 24 deletions

View File

@ -186,7 +186,7 @@ end
-- Checks if a player owns an area or a parent of it
function areas:isAreaOwner(id, name)
cur = self:getAreaById(id)
local cur = self:getAreaById(id)
if cur and minetest.check_player_privs(name, {areas=true}) then
return true
end