From 5f447e07b6d779550ca7893727990f7d5b85ee31 Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Sat, 17 Jul 2021 17:46:20 +0200 Subject: [PATCH] comments and version bump --- CommandWhitelistBukkit/pom.xml | 2 +- .../commandwhitelist/bukkit/CommandWhitelistBukkit.java | 2 +- CommandWhitelistCommon/pom.xml | 4 ++-- CommandWhitelistVelocity/pom.xml | 2 +- CommandWhitelistWaterfall/pom.xml | 2 +- pom.xml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CommandWhitelistBukkit/pom.xml b/CommandWhitelistBukkit/pom.xml index cd249e6..98e7e7e 100644 --- a/CommandWhitelistBukkit/pom.xml +++ b/CommandWhitelistBukkit/pom.xml @@ -6,7 +6,7 @@ eu.endermite.commandwhitelist CommandWhitelist - 2.0-ALPHA-2 + 2.0-ALPHA-3 Bukkit diff --git a/CommandWhitelistBukkit/src/main/java/eu/endermite/commandwhitelist/bukkit/CommandWhitelistBukkit.java b/CommandWhitelistBukkit/src/main/java/eu/endermite/commandwhitelist/bukkit/CommandWhitelistBukkit.java index bcba85e..eb997b9 100644 --- a/CommandWhitelistBukkit/src/main/java/eu/endermite/commandwhitelist/bukkit/CommandWhitelistBukkit.java +++ b/CommandWhitelistBukkit/src/main/java/eu/endermite/commandwhitelist/bukkit/CommandWhitelistBukkit.java @@ -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(); diff --git a/CommandWhitelistCommon/pom.xml b/CommandWhitelistCommon/pom.xml index e561c9c..29a9af8 100644 --- a/CommandWhitelistCommon/pom.xml +++ b/CommandWhitelistCommon/pom.xml @@ -6,7 +6,7 @@ eu.endermite.commandwhitelist CommandWhitelist - 2.0-ALPHA-2 + 2.0-ALPHA-3 Common @@ -72,7 +72,7 @@ com.github.Thatsmusic99 ConfigurationMaster - v2.0.0-ALPHA-3 + v2.0.0-ALPHA-4 compile diff --git a/CommandWhitelistVelocity/pom.xml b/CommandWhitelistVelocity/pom.xml index a81a411..ad7ec87 100644 --- a/CommandWhitelistVelocity/pom.xml +++ b/CommandWhitelistVelocity/pom.xml @@ -6,7 +6,7 @@ eu.endermite.commandwhitelist CommandWhitelist - 2.0-ALPHA-2 + 2.0-ALPHA-3 Velocity diff --git a/CommandWhitelistWaterfall/pom.xml b/CommandWhitelistWaterfall/pom.xml index 7212314..e25c413 100644 --- a/CommandWhitelistWaterfall/pom.xml +++ b/CommandWhitelistWaterfall/pom.xml @@ -6,7 +6,7 @@ eu.endermite.commandwhitelist CommandWhitelist - 2.0-ALPHA-2 + 2.0-ALPHA-3 Waterfall diff --git a/pom.xml b/pom.xml index 5c893ec..4ebd0b0 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ eu.endermite.commandwhitelist CommandWhitelist - 2.0-ALPHA-2 + 2.0-ALPHA-3 CommandWhitelistCommon CommandWhitelistBukkit