Fixed bug where player.Functions.HasItem would execute QBCore.Functions.HasItem but not return the value

This commit is contained in:
AdrianCeku
2024-02-27 20:34:45 +01:00
committed by GitHub
parent 5c60c94197
commit 7bdcfccac8
+1 -1
View File
@@ -275,7 +275,7 @@ function QBCore.Player.CreatePlayer(PlayerData, Offline)
end
function self.Functions.HasItem(items, amount)
QBCore.Functions.HasItem(self.PlayerData.source, items, amount)
return QBCore.Functions.HasItem(self.PlayerData.source, items, amount)
end
function self.Functions.SetJobDuty(onDuty)