Fix a bug.

MaxPlayers params was not converted to int before saving to database.