Closed bojjenclon closed 2 years ago
Found the issue. I probably just copied and pasted the previous function and forgot to change the parameters. Oops =X https://github.com/gilzoide/godot-lua-pluginscript/blob/main/src/godot_array_commons.lua#L71-L73
All good, happens to all of us. That fixed it though! :D
I was testing the Array indexing changes and it works great for the getter, but it seems the setter is broken. I even tried a very basic repro like below and it errors as well:
inventory[1] = Item:new()