mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 02:08:55 +00:00
Merge pull request #101 from NRTnarathip/patch-4
Fix Bug: Cannot pickup weed plant
This commit is contained in:
@@ -80,7 +80,7 @@ CreateThread(function()
|
||||
local nearbyObject, nearbyID
|
||||
|
||||
for i=1, #weedPlants, 1 do
|
||||
if #(coords - GetEntityCoords(weedPlants[i])) < 1 then
|
||||
if #(coords - GetEntityCoords(weedPlants[i])) < 1.5 then
|
||||
nearbyObject, nearbyID = weedPlants[i], i
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user