[HOTFIX] Megafon mehr als 1 wort @balbo????

This commit is contained in:
hydrant
2021-04-17 04:49:30 +02:00
parent a19b828a9e
commit 5e25a4d8a5

View File

@@ -414,8 +414,8 @@ namespace ReallifeGamemode.Server.Commands
#region Staatsfraktionen (LSPD / FBI) Commands
[Command("m", "~m~Benutzung: ~s~/m [Message]")]
public void CmdFactionMegaphone(Player player, String message)
[Command("m", "~m~Benutzung: ~s~/m [Message]", GreedyArg = true)]
public void CmdFactionMegaphone(Player player, string message)
{
User user = player.GetUser();
if (user == null || (user.FactionId != 1 && user.FactionId != 3))