mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-12-02 21:39:45 -05:00
Fix Reload Sync
This commit is contained in:
1 parent
85c512b08b
commit
9d657c107e
1 file changed
+2
-2
@@ -53,8 +53,8 @@ public class BukkitLoader extends JavaPlugin {
|
||||
|
||||
if(Storage.ConfigSections.Settings.HANDLE_THROUGH_PROXY.ENABLED)
|
||||
Bukkit.getScheduler().scheduleSyncRepeatingTask(this, () -> {
|
||||
if(loaded) ClientCommunication.sendRequest();
|
||||
}, 40, 20 * 10);
|
||||
if(Bukkit.getOnlinePlayers().size() != 0 || loaded) ClientCommunication.sendRequest();
|
||||
}, Bukkit.getOnlinePlayers().size() != 0 ? 5 : 40, 20 * 10);
|
||||
|
||||
else {
|
||||
GroupManager.initialize();
|
||||
|
||||
Reference in new issue
Block a user