Fix array indexing in server.lua -_-