Update player.lua

This commit is contained in:
Mustache Dom
2024-11-07 20:47:22 -08:00
committed by GitHub
parent 1ce5dd831b
commit 304a6f42a0
+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 < QBCore.Config.Money.MinusLimit then return false end
self.PlayerData.money[moneytype] = self.PlayerData.money[moneytype] - amount
if not self.Offline then