fix: Courseplays markpunkt ved høst/slåning ligger i afgrøden — 1.62.191
This commit is contained in:
@@ -453,7 +453,10 @@ local function newScan(adEnv, entry)
|
||||
for _, point in ipairs(scan.points) do
|
||||
push(scan, function()
|
||||
local ok, index = pcall(FSDensityMapUtil.getFruitTypeIndexAtWorldPos, point.x, point.z)
|
||||
if ok and type(index) == "number" and index > 0 then vote(scan.fruitVotes, index) end
|
||||
if ok and type(index) == "number" and index > 0 then
|
||||
vote(scan.fruitVotes, index)
|
||||
point.fruit = index -- afgrøden i punktet: Courseplays markpunkt ved høst skal stå i afgrøden
|
||||
end
|
||||
end)
|
||||
end
|
||||
push(scan, function() ADFields.scanPerFruit(scan) end)
|
||||
|
||||
Reference in New Issue
Block a user