pointed to /npc_talk debug instead of /npc_talk_debug in help texts

This commit is contained in:
Sokomine 2023-07-18 03:54:56 +02:00
parent 3e9591eee8
commit 252fdebc5e
2 changed files with 3 additions and 3 deletions

View File

@ -1330,9 +1330,9 @@ yl_speak_up.get_fs_edit_option_related = function(player, table_click_result,
if(id_prefix ~= "a_") then
formspec = formspec..
"label[1,10.5;If you are unsure if your setup of pre(C)onditions and (Ef)fects "..
"works as intended,\ntype \"/npc_talk_debug "..tostring(n_id).."\" "..
"works as intended,\ntype \"/npc_talk debug "..tostring(n_id).."\" "..
"in chat in order to enter debug mode. You can leave it with "..
"\"/npc_talk_debug off\".]"
"\"/npc_talk debug off\".]"
end

View File

@ -69,6 +69,6 @@ yl_speak_up.command_npc_talk_debug = function(pname, param)
yl_speak_up.debug_mode_set_by_player[ param ] = pname
minetest.chat_send_player(pname, "You are now receiving debug information "..
"for NPC "..tostring(param)..".\nTo turn that off, type "..
"\"/npc_talk_debug off\".")
"\"/npc_talk debug off\".")
end
end