Ezhh / caverealms_lite

Other
5 stars 8 forks source link

Bug on init.lua line 322 #24

Closed LeoStark84 closed 1 year ago

LeoStark84 commented 2 years ago

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. Screenshot_20211129_142339 Screenshot_20211129_142302