Closed WMGameLive closed 2 months ago
Did you check what value is effectively used when you are calling the api?
nvm the issue is caused by a player or team with an overflow in the progression, so you should check that
Just find out it is because I multiply progression by 100 lol I follow #73 to solve the lag issue because I have a lot of "large" advancements.
I know the Integer max value is 2147483647, and if over the max value it will overflow. But it is only 21474836
I change the code to see what advancement cause the problem:
Preconditions.checkArgument(progression >= 0, "Progression must be >= 0. : " + mcAdv.toString() + " = " + progression);
And I got this:
The advancement
distanceboat_30000000
is only 21474837, if it is <= 21474836, it won't get error.