From 7cc90534f05fb6c94341fe8041dd395c433999a2 Mon Sep 17 00:00:00 2001 From: hydrant Date: Mon, 31 May 2021 09:45:30 +0200 Subject: [PATCH] fix bank logs --- ReallifeGamemode.Server/Bank/bank.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Bank/bank.cs b/ReallifeGamemode.Server/Bank/bank.cs index b074d0a9..09e1f812 100644 --- a/ReallifeGamemode.Server/Bank/bank.cs +++ b/ReallifeGamemode.Server/Bank/bank.cs @@ -227,7 +227,7 @@ namespace ReallifeGamemode.Server.Bank } else { - logger.LogInformation("Player {0} did a faction transfer of {1} dollars from faction {2} to {3}", user.Name, amount, user.Faction.Id, target); + logger.LogInformation("Player {0} did a faction transfer of {1} dollars from faction {2} to {3}", user.Name, amount, user.Faction.Id, target.Name); player.SendNotification($"Du hast ~g~{amount.ToMoneyString()}~s~ an ~y~{targetUser.Name}~s~ überwiesen"); target.SendNotification($"Dir wurden ~g~{amount.ToMoneyString()}~s~ von ~y~{user.Name}~s~ überwiesen"); user.Faction.BankAccount.Balance -= (int)(amount * 1.05);