fix bank logs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user