Update player.lua

This commit is contained in:
Mustache Dom
2024-11-07 20:22:12 -08:00
committed by GitHub
parent 080556c425
commit 1ce5dd831b
+1 -1
View File
@@ -341,7 +341,7 @@ function QBCore.Player.CreatePlayer(PlayerData, Offline)
end
end
end
if self.PlayerData.money[moneytype] - amount <= QBConfig.Money.MinusLimit then return false end
if self.PlayerData.money[moneytype] - amount < QBConfig.Money.MinusLimit then return false end
self.PlayerData.money[moneytype] = self.PlayerData.money[moneytype] - amount
if not self.Offline then