Skip to content

Commit

Permalink
Merge pull request #489 from TGIANN/patch-1
Browse files Browse the repository at this point in the history
Update consumables.lua
  • Loading branch information
GhzGarage authored Jan 19, 2025
2 parents b0d7d84 + e598530 commit 82e382d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/consumables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ exports('AddAlcohol', addAlcohol)
---@param data number amount it replenishes
---@return boolean, string
local function addCustom(itemName, data)
if 'consumables:itemdata' ~= nil then
if Config.Consumables.custom[itemName] ~= nil then
return false, 'already added'
else
Config.Consumables.custom[itemName] = data
Expand Down

0 comments on commit 82e382d

Please sign in to comment.