Fixed brackets bug

This commit is contained in:
shamoanjac 2016-08-12 17:18:09 +02:00
parent 2d7237692a
commit 4c3e5025d6

View File

@ -540,8 +540,8 @@ factions.register_command("free", {
end
})
factionsm.register_command("chat", {
description = "Send a message to your faction's members"
factions.register_command("chat", {
description = "Send a message to your faction's members",
on_success = function(player, faction, pos, chunkpos, args)
local msg = table.concat(args.other, " ")
faction:broadcast(msg, player)