From e884c7243b3c41308ef1f7436be7b92ab2dd24cb Mon Sep 17 00:00:00 2001 From: Ali Date: Sat, 14 Dec 2024 12:33:24 +0300 Subject: [PATCH] why is this 16? --- .../commands/bukkit/brigadier/MinecraftArgumentType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit/src/main/java/revxrsal/commands/bukkit/brigadier/MinecraftArgumentType.java b/bukkit/src/main/java/revxrsal/commands/bukkit/brigadier/MinecraftArgumentType.java index 5ffc8765..561e9efb 100644 --- a/bukkit/src/main/java/revxrsal/commands/bukkit/brigadier/MinecraftArgumentType.java +++ b/bukkit/src/main/java/revxrsal/commands/bukkit/brigadier/MinecraftArgumentType.java @@ -290,7 +290,7 @@ public enum MinecraftArgumentType { private static @Nullable Class resolveArgumentClass(String name) { try { - if (BukkitVersion.supports(1, 16)) { + if (BukkitVersion.supports(1, 17)) { try { return BukkitVersion.findNmsClass("commands.arguments." + name); } catch (Throwable ignored) {