try fix
This commit is contained in:
@@ -623,14 +623,12 @@ namespace ReallifeGamemode.Server.Managers
|
||||
}
|
||||
else
|
||||
{
|
||||
if (amount > 0 && amount < 5000)
|
||||
if (amount > 0 && amount <= 5000)
|
||||
{
|
||||
player.SendNotification($"~w~Du hast ~y~{targetname} ~w~ ${amount} gegeben.");
|
||||
target.SendNotification($"~w~ Du hast von ~y~{playername} ~w~ ${amount}$ erhalten.", true);
|
||||
target.SendNotification($"~w~ Du hast von ~y~{playername} ~w~ ${amount} erhalten.", true);
|
||||
target.SetData<int>("pay_amount", amount);
|
||||
|
||||
player.SendChatMessage("hallo debug player");
|
||||
target.SendChatMessage("hallo debug target");
|
||||
using (var dbContext = new DatabaseContext())
|
||||
{
|
||||
target.GetUser(dbContext).Handmoney += amount;
|
||||
|
||||
Reference in New Issue
Block a user