mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-12-03 05:49:42 -05:00
Reposition
This commit is contained in:
1 parent
44995cbcb5
commit
6f60df63c1
3 files changed
+7
-8
No files matched your search
@@ -64,11 +64,10 @@ public class BukkitLoader extends JavaPlugin {
|
||||
manager.registerEvents(new BukkitBlockCommandListener(), this);
|
||||
|
||||
registerCommand("proantitab", "pat");
|
||||
startUpdaterTask();
|
||||
|
||||
if(getServer().getPluginManager().getPlugin("LuckPerms") != null)
|
||||
LuckPermsAdapter.initialize();
|
||||
|
||||
startUpdaterTask();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -57,9 +57,6 @@ public class BungeeLoader extends Plugin {
|
||||
manager.registerListener(this, new BungeeBlockCommandListener());
|
||||
manager.registerListener(this, new BungeePingListener());
|
||||
|
||||
if(manager.getPlugin("LuckPerms") != null)
|
||||
LuckPermsAdapter.initialize();
|
||||
|
||||
try {
|
||||
Class.forName("io.github.waterfallmc.waterfall.QueryResult");
|
||||
manager.registerListener(this, new WaterfallAntiTabListener());
|
||||
@@ -75,6 +72,9 @@ public class BungeeLoader extends Plugin {
|
||||
ClientCommunication.syncData();
|
||||
ClientCommunication.syncData();
|
||||
}, 5, TimeUnit.SECONDS);
|
||||
|
||||
if(manager.getPlugin("LuckPerms") != null)
|
||||
LuckPermsAdapter.initialize();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -79,14 +79,14 @@ public class VelocityLoader {
|
||||
server.getEventManager().register(this, new VelocityConnectionListener(server, this));
|
||||
server.getEventManager().register(this, new VelocityPingListener(server));
|
||||
|
||||
if(server.getPluginManager().getPlugin("LuckPerms").isPresent())
|
||||
LuckPermsAdapter.initialize();
|
||||
|
||||
startUpdaterTask();
|
||||
server.getScheduler().buildTask(this, () -> {
|
||||
ClientCommunication.syncData();
|
||||
ClientCommunication.syncData();
|
||||
}).delay(2, TimeUnit.SECONDS).schedule();
|
||||
|
||||
if(server.getPluginManager().getPlugin("LuckPerms").isPresent())
|
||||
LuckPermsAdapter.initialize();
|
||||
}
|
||||
|
||||
public void startUpdaterTask() {
|
||||
|
||||
Reference in new issue
Block a user