Merge pull request #101 from NRTnarathip/patch-4

Fix Bug: Cannot pickup weed plant
This commit is contained in:
FuraXx
2022-02-17 17:07:54 +01:00
committed by GitHub
+1 -1
View File
@@ -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