mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-15 12:04:43 +02:00
Properly restore state when errors occur during uuid update
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user