ok
This commit is contained in:
@@ -627,7 +627,6 @@ namespace ReallifeGamemode.Server.Managers
|
||||
{
|
||||
player.SendNotification($"~w~Du hast ~y~{targetname} ~w~ ${amount} gegeben.");
|
||||
target.SendNotification($"~w~ Du hast von ~y~{playername} ~w~ ${amount} erhalten.", true);
|
||||
target.SetData<int>("pay_amount", amount);
|
||||
|
||||
using (var dbContext = new DatabaseContext())
|
||||
{
|
||||
@@ -635,8 +634,6 @@ namespace ReallifeGamemode.Server.Managers
|
||||
player.GetUser(dbContext).Handmoney -= amount;
|
||||
dbContext.SaveChanges();
|
||||
}
|
||||
target.ResetData("pay_amount");
|
||||
target.ResetData("pay_player");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user