mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +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) {
|
||||
// Handle 429
|
||||
if (e.getMessage().contains("429")) {
|
||||
size += userNamesSection.size();
|
||||
try {
|
||||
Thread.sleep(LIMIT_PERIOD);
|
||||
} catch (InterruptedException ex) {
|
||||
|
Reference in New Issue
Block a user