fixed bugs

This commit is contained in:
Mustache Dom committed 2024-11-12 02:07:16 -08:00
1 parent 9d828a2b15
commit abb1bba3fe
11 files changed
+30 -29

No files matched your search

+5 -2
View File
@@ -129,7 +129,10 @@ function checkLoc(source, event, num)
return false
end
end
local loc = Target.Travellingmerchant[math.random(1, #Target.Travellingmerchant)]
lib.callback.register('md-drugs:server:getLocs', function()
return Target
end)
end)
lib.callback.register('md-drugs:server:GetMerchant', function(source)
return loc
end)