comments and version bump

This commit is contained in:
YouHaveTrouble
2021-07-17 17:46:20 +02:00
parent b5e12655f9
commit 5f447e07b6
6 changed files with 7 additions and 7 deletions
@@ -45,13 +45,13 @@ public class CommandWhitelistBukkit extends JavaPlugin {
getLogger().info(ChatColor.AQUA + "Using ProtocolLib for command filter!");
}
try {
// Use paper's async tab completions if possible
Class.forName("com.destroystokyo.paper.event.server.AsyncTabCompleteEvent");
getServer().getPluginManager().registerEvents(new AsyncTabCompleteBlockerListener(), this);
} catch (ClassNotFoundException e) {
getServer().getPluginManager().registerEvents(new TabCompleteBlockerListener(), this);
}
PluginCommand command = getCommand("commandwhitelist");
if (command != null) {
MainCommandExecutor executor = new MainCommandExecutor();