mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
Merge pull request #1091 from AdrianCeku/patch-1
Fixed missing return statement in Player.Functions.HasItem
This commit is contained in:
+1
-1
@@ -194,7 +194,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)
|
||||
|
||||
Reference in New Issue
Block a user