Skip to content

Commit

Permalink
Update main.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Borreke0 authored Feb 17, 2024
1 parent d71df6b commit 3b31467
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ local function inHouse()
while currentHouse do
local plyCoords = GetEntityCoords(PlayerPedId())
closestPlant = 0
if housePlants[currentHouse] == nil then break end
for k in pairs(housePlants[currentHouse]) do
local plantCoords = json.decode(housePlants[currentHouse][k].coords)
if #(plyCoords - vector3(plantCoords.x, plantCoords.y, plantCoords.z)) < 0.8 then
Expand Down

0 comments on commit 3b31467

Please sign in to comment.