mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 08:01:36 +00:00
refactor(overrides/oxinventory): unused args
This commit is contained in:
@@ -36,7 +36,7 @@ Core.PlayerFunctionOverrides.OxInventory = {
|
||||
end
|
||||
end,
|
||||
|
||||
getLoadout = function(self)
|
||||
getLoadout = function(_)
|
||||
return function()
|
||||
return {}
|
||||
end
|
||||
@@ -144,49 +144,49 @@ Core.PlayerFunctionOverrides.OxInventory = {
|
||||
end
|
||||
end,
|
||||
|
||||
addWeapon = function(self)
|
||||
addWeapon = function(_)
|
||||
return function() end
|
||||
end,
|
||||
|
||||
addWeaponComponent = function(self)
|
||||
addWeaponComponent = function(_)
|
||||
return function() end
|
||||
end,
|
||||
|
||||
addWeaponAmmo = function(self)
|
||||
addWeaponAmmo = function(_)
|
||||
return function() end
|
||||
end,
|
||||
|
||||
updateWeaponAmmo = function(self)
|
||||
updateWeaponAmmo = function(_)
|
||||
return function() end
|
||||
end,
|
||||
|
||||
setWeaponTint = function(self)
|
||||
setWeaponTint = function(_)
|
||||
return function() end
|
||||
end,
|
||||
|
||||
getWeaponTint = function(self)
|
||||
getWeaponTint = function(_)
|
||||
return function() end
|
||||
end,
|
||||
|
||||
removeWeapon = function(self)
|
||||
removeWeapon = function(_)
|
||||
return function() end
|
||||
end,
|
||||
|
||||
removeWeaponComponent = function(self)
|
||||
removeWeaponComponent = function(_)
|
||||
return function() end
|
||||
end,
|
||||
|
||||
removeWeaponAmmo = function(self)
|
||||
removeWeaponAmmo = function(_)
|
||||
return function() end
|
||||
end,
|
||||
|
||||
hasWeaponComponent = function(self)
|
||||
hasWeaponComponent = function(_)
|
||||
return function()
|
||||
return false
|
||||
end
|
||||
end,
|
||||
|
||||
hasWeapon = function(self)
|
||||
hasWeapon = function(_)
|
||||
return function()
|
||||
return false
|
||||
end
|
||||
@@ -198,7 +198,7 @@ Core.PlayerFunctionOverrides.OxInventory = {
|
||||
end
|
||||
end,
|
||||
|
||||
getWeapon = function(self)
|
||||
getWeapon = function(_)
|
||||
return function() end
|
||||
end,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user