From fd6bf070644afd821e39f377dff470d731c7e408 Mon Sep 17 00:00:00 2001 From: Coder12a <38924418+Coder12a@users.noreply.github.com> Date: Mon, 14 Jan 2019 17:16:28 -0600 Subject: [PATCH] Fix: chat cmd typo --- chatcommands.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chatcommands.lua b/chatcommands.lua index 5a4d458..5db3ab3 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -626,15 +626,15 @@ if factions_config.faction_diplomacy == true then end },false) - factions.register_command("delcare_war", { - description = "Delcare war on a faction.", + factions.register_command("declare_war", { + description = "Declare war on a faction.", global_privileges = def_global_privileges, format = {"string"}, faction_permissions = {"diplomacy"}, on_success = function(player, faction, pos, parcelpos, args) if not faction.enemies[args.strings[1]] then if args.strings[1] == faction.name then - send_error(player, "You can not delcare war on your own faction.") + send_error(player, "You can not declare war on your own faction.") return false end if faction.allies[args.strings[1]] then