I'm currently working on a bot for a league system where, on some occasions, a tie is possible (in a round robin).
However, i can only provide a Long for MatchQueryBuilder#winnerId, but the Challonge API insists on having a String of "tie" as winnerId (if a tie occurs.)
Leaving the winnersId null or 0L will leave the match open and inputting something else than the participant's IDs will throw a DataAccessException.
I was looking in every Java file involved for some clues, but to no avail.
Is there any way to update a match as a tie?
I'm currently working on a bot for a league system where, on some occasions, a tie is possible (in a round robin).
However, i can only provide a Long for MatchQueryBuilder#winnerId, but the Challonge API insists on having a String of
"tie"as winnerId (if a tie occurs.)Leaving the winnersId
nullor0Lwill leave the match open and inputting something else than the participant's IDs will throw a DataAccessException.I was looking in every Java file involved for some clues, but to no avail.
Is there any way to update a match as a tie?