- fix Weed Blunts

This commit is contained in:
Mustache Dom committed 2026-03-23 21:09:06 -07:00
1 parent 30f12ebbe5
commit 0f80534168
4 files changed
+18 -6

No files matched your search

+10
View File
@@ -73,6 +73,16 @@ RegisterServerEvent('md-drugs:server:MakeWeedItems', function(tabl, item, loc)
end)
RegisterNetEvent('md-drugs:server:RollBlunt', function(tabl, item)
local src = source
if timeOut(src, 'md-drugs:server:RollBlunt') then return end
local recipe = Config.Weed.Recipes[tabl][item]
if not recipe then
Bridge.Prints.Warn(Bridge.Language.Locale('weed.recipeDoesntExistWarn', Bridge.Framework.GetPlayerIdentifier(src), item))
return
end
if not craft(src, recipe) then return end
end)
Bridge.Framework.RegisterUsableItem("dabrig", function(source, item)
local src = source
if Bridge.Inventory.HasItem(src, "butanetorch") then