Added automatic plugin updater and a few smaller changes #21
1 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,8 @@ public class MCChatListener implements Listener, IListener<MessageReceivedEvent>
|
|||
Thread.sleep(100);
|
||||
break;
|
||||
} catch (RateLimitException e) {
|
||||
Thread.sleep(e.getRetryDelay());
|
||||
if (e.getRetryDelay() > 0)
|
||||
Thread.sleep(e.getRetryDelay());
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in a new issue