This commit is contained in:
michael.reiswich
2021-03-24 17:51:23 +01:00
parent f3def5259f
commit 2fa0633010

View File

@@ -177,7 +177,7 @@ namespace ReallifeGamemode.Server.Commands
[Command("lc", "~m~Benutzung: ~s~/lc [Nachricht]", GreedyArg = true)]
public void CmdFactionLc(Player player, string message)
{
if (player.GetUser()?.FactionId == null || player.GetUser().FactionLeader == false || player.HasData("toglc") == false )
if ((player.GetUser()?.FactionId == null || player.GetUser().FactionLeader == false) || player.HasData("toglc") == false )
{
ChatService.NotAuthorized(player);
return;
@@ -369,7 +369,7 @@ namespace ReallifeGamemode.Server.Commands
target.Health = 100;
target.SendNotification($"Du wurdest von ~g~{player.Name} ~s~ für ~g~{price.ToMoneyString()} geheilt.", false);
player.SendNotification($"Du hast ~g~{target.Name} ~s~ für {price.ToMoneyString()} geheilt.", false);
Medic.delHealTask(target);
player.TriggerEvent("delHealTask");
}
#endregion Sanitäter Commands