Skip to content

Commit

Permalink
style: more descriptive deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Jun 24, 2024
1 parent fe01cce commit 49981ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
---@field combineable? false|table
---@field description string

---@deprecated This file is deprecated and will be removed in the future. Please add your items directly in ox_inventory/data/items.lua file. Currently items placed in here will be converted at next server restart.
---@deprecated This file is deprecated and will be removed in the future. If you are utilizing QB-Core bridge functionality you will need to populate items here for them to be available in QBCore.Shared.Items. If not please add your items directly in ox_inventory/data/items.lua file. Currently items placed in here will be converted at next server restart.
---@type table<string, Item>
return {
-- WEAPONS
Expand Down
2 changes: 1 addition & 1 deletion shared/weapons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
---@field ammotype? string
---@field damagereason string

---@deprecated This file is deprecated and will be removed in the future. Please add your weapons in ox_inventory/data/weapons.lua file. Currently weapons in this file will be converted on next server start
---@deprecated This file is deprecated and will be removed in the future. If you are utilizing QB-Core bridge functionality you will need to populate weapons here for them to be available in QBCore.Shared.Weapons. If not please add your weapons in ox_inventory/data/weapons.lua file. Currently weapons in this file will be converted on next server start.
---@type table<number, Weapon>
return {
-- // WEAPONS
Expand Down

0 comments on commit 49981ec

Please sign in to comment.