Fixed send-all-when-back-online not working 99% of the time

This commit is contained in:
ajgeiss0702
2022-10-20 14:08:38 -07:00
parent a21307c68f
commit 00ffb3e29c
4 changed files with 4 additions and 3 deletions
@@ -118,7 +118,7 @@ public class BungeeServer implements AdaptedServer {
@Override
public boolean justWentOnline() {
return System.currentTimeMillis()-lastOffline <= (AjQueueAPI.getInstance().getConfig().getDouble("wait-time")) && isOnline();
return System.currentTimeMillis()-lastOffline <= (AjQueueAPI.getInstance().getConfig().getDouble("wait-time") * 2 * 1000) && isOnline();
}
@Override