I keep on getting this error which traces back to main.lua 66
In line 322 variable vi is incremented by 1. So it should be a numerical value, however, it's recognized as a function value.
At first I tried changing line 146 to
local vi = tonumber(area:index(x0, y, z))
to no avail.
Then I figured that somewhere in the code maybe there's a vi variable declared as global, but I couldn't find such error anywhere across all files.
I keep on getting this error which traces back to main.lua 66 In line 322 variable vi is incremented by 1. So it should be a numerical value, however, it's recognized as a function value. At first I tried changing line 146 to
local vi = tonumber(area:index(x0, y, z))
to no avail. Then I figured that somewhere in the code maybe there's a vi variable declared as global, but I couldn't find such error anywhere across all files.