From 368ec72b2919ae4df584ee2ebf4741461f5fdd87 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Tue, 18 Jul 2023 02:16:58 +0200 Subject: [PATCH] fixed wrong identation --- npc_talk_debug.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc_talk_debug.lua b/npc_talk_debug.lua index 954f386..e1e4fd2 100644 --- a/npc_talk_debug.lua +++ b/npc_talk_debug.lua @@ -60,7 +60,7 @@ yl_speak_up.command_npc_talk_debug = function(pname, param) "parameter ." end minetest.chat_send_player(pname, text) - return + return elseif(not(yl_speak_up.may_edit_npc(minetest.get_player_by_name(pname), param))) then minetest.chat_send_player(pname, "You do not have the necessary privs to ".. "edit that NPC.")