hab was vergessen
This commit is contained in:
@@ -161,7 +161,7 @@ namespace ReallifeGamemode.Server.Bank
|
|||||||
using (var dbContext = new DatabaseContext())
|
using (var dbContext = new DatabaseContext())
|
||||||
{
|
{
|
||||||
|
|
||||||
if (amount <= 0 || amount > player.GetUser(dbContext).Handmoney)
|
if (amount <= 0 || amount > player.GetUser(dbContext).BankAccount.Balance)
|
||||||
{
|
{
|
||||||
player.SendNotification($"~r~Dieser Betrag ist ungültig.");
|
player.SendNotification($"~r~Dieser Betrag ist ungültig.");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user