From 146df88de273122c20aec3f9265b20073d573e17 Mon Sep 17 00:00:00 2001 From: Coder12a <38924418+Coder12a@users.noreply.github.com> Date: Sat, 27 Oct 2018 22:29:02 -0500 Subject: [PATCH] faction description bug fix. The first words before a space was not displayed in the description. --- chatcommands.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chatcommands.lua b/chatcommands.lua index f8e09b6..2f28924 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -375,14 +375,15 @@ factions.register_command("open", { },false) factions.register_command("description", { + format = {"string"}, faction_permissions = {"description"}, description = "Set your faction's description", global_privileges = def_global_privileges, on_success = function(player, faction, pos, parcelpos, args) - faction:set_description(table.concat(args.other," ")) + faction:set_description(table.concat(args.strings," ")) return true end -},false) +},true) factions.register_command("invite", { format = {"player"},