From 739c35585daf422400bea61c253c726aafe77ff9 Mon Sep 17 00:00:00 2001 From: BrunoMine Date: Fri, 29 Jul 2016 21:59:16 -0300 Subject: [PATCH] Erro de retorno corrigido --- protetor.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protetor.lua b/protetor.lua index 96132d8..388c465 100644 --- a/protetor.lua +++ b/protetor.lua @@ -12,7 +12,7 @@ -- Proteger uma area gestor.proteger_area = function(name, PlayerName, AreaName, pos1, pos2, silencio) if not tostring(PlayerName) or not tostring(AreaName) then return "Faltam argumentos ou estao incorretos" end - if not areas or not area.add then "Faltou mod areas" end + if not areas or not area.add then return "Faltou mod areas" end local param = tostring(PlayerName).." "..tostring(AreaName) local found, _, ownername, areaname = param:find('^([^ ]+) (.+)$')