fix givemoney log
This commit is contained in:
@@ -3384,7 +3384,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
|
|
||||||
using (var dbContext = new DatabaseContext())
|
using (var dbContext = new DatabaseContext())
|
||||||
{
|
{
|
||||||
logger.LogInformation("Admin {0} added {2} dollars to the bank account of {1}", player.Name, target.Name, amount);
|
logger.LogInformation("Admin {0} added {1} dollars to the bank account of {2}", player.Name, amount, target.Name);
|
||||||
target.GetUser(dbContext).BankAccount.Balance += amount;
|
target.GetUser(dbContext).BankAccount.Balance += amount;
|
||||||
dbContext.SaveChanges();
|
dbContext.SaveChanges();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user