Skip to content

Commit

Permalink
fix issue in NMS class fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
Revxrsal committed Dec 14, 2024
1 parent 7b986cb commit 4bfff01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ public boolean requiresParameters() {

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) {
Expand Down

0 comments on commit 4bfff01

Please sign in to comment.