mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
Properly restore state when errors occur during uuid update
This commit is contained in:
parent
93ad040936
commit
30adac5e63
@ -70,6 +70,7 @@ public class UUIDUpdateAsyncTask extends BukkitRunnable {
|
|||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
// Handle 429
|
// Handle 429
|
||||||
if (e.getMessage().contains("429")) {
|
if (e.getMessage().contains("429")) {
|
||||||
|
size += userNamesSection.size();
|
||||||
try {
|
try {
|
||||||
Thread.sleep(LIMIT_PERIOD);
|
Thread.sleep(LIMIT_PERIOD);
|
||||||
} catch (InterruptedException ex) {
|
} catch (InterruptedException ex) {
|
||||||
|
Loading…
Reference in New Issue
Block a user