Edited codegen to align versions of array

When player array is given, I subtract 1 when accessing the Players
list to account for offset