mirror of
https://github.com/ME1312/SubServers-2.git
synced 2025-01-25 09:01:23 +01:00
More debug options
This commit is contained in:
parent
fa82e0ab96
commit
29dbd107c0
@ -670,7 +670,7 @@ public final class SubProxy extends BungeeCord implements Listener {
|
||||
}
|
||||
}, 0, TimeUnit.DAYS.toMillis(2));
|
||||
|
||||
int interval = config.get().getMap("Settings").getInt("RemotePlayer-Cache-Interval", 300);
|
||||
int interval = config.get().getMap("Settings").getInt("RPEC-Check-Interval", 300);
|
||||
int start = interval - new Random().nextInt((interval / 3) + 1);
|
||||
new Timer("SubServers.Bungee::RemotePlayer_Error_Checking").schedule(new TimerTask() {
|
||||
@Override
|
||||
|
@ -239,7 +239,7 @@ public final class ExProxy extends BungeeCord implements Listener {
|
||||
}
|
||||
}, 0, TimeUnit.DAYS.toMillis(2));
|
||||
|
||||
int interval = config.get().getMap("Settings").getInt("RemotePlayer-Cache-Interval", 300);
|
||||
int interval = config.get().getMap("Settings").getInt("RPEC-Check-Interval", 300);
|
||||
int start = interval - new Random().nextInt((interval / 3) + 1);
|
||||
new Timer("SubServers.Sync::RemotePlayer_Error_Checking").schedule(new TimerTask() {
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user