From 024d92c5b9fc0387baa189969b8ad625567ff7d6 Mon Sep 17 00:00:00 2001 From: BrunoMine Date: Thu, 2 Jul 2020 15:07:22 -0300 Subject: [PATCH] =?UTF-8?q?Corre=C3=A7=C3=A3o=20de=20mensagem=20no=20depur?= =?UTF-8?q?ador?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Evitar mensagem de erro --- comandos.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comandos.lua b/comandos.lua index 12b8d73..ca855e9 100644 --- a/comandos.lua +++ b/comandos.lua @@ -17,7 +17,7 @@ minetest.register_chatcommand("gestor", { }) -- Menu de acesso simples -if sfinv_menu then +if type(sfinv_menu)~="nil" then sfinv_menu.register_button("gestor:painel", { title = "Gestor", icon = "gestor.png",