CommandHelper

CommandHelper

46.5k Downloads

array_get doc derp.

LadyCailinBot opened this issue ยท 2 comments

commented

CMDHELPER-2870 - Reported by EntityReborn

The docs specify that array_get expects array, index, [default]. The code actually allows for array_get(@somearray), explicitly.

commented

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.

commented

Comment by EntityReborn

Fair enough.