array_get doc derp.
LadyCailinBot opened this issue ยท 2 comments
CMDHELPER-2870 - Reported by EntityReborn
The docs specify that array_get expects array, index, [default]. The code actually allows for array_get(@somearray), explicitly.
Comment by LadyCailin
This is the long hand for the array clone operation: @somearray[]. It may not be well documented in array_get, but is a standard feature.