Skip to content

Commit

Permalink
Fix CraftBukkitFacet on 1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
56738 committed Sep 27, 2023
1 parent afeeea4 commit f919f53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public static MethodHandle searchMethod(final @Nullable Class<?> holderClass, fi
}
}

for (final Method method : holderClass.getDeclaredMethods()) {
for (final Method method : holderClass.getMethods()) {
if ((modifier == null || (method.getModifiers() & modifier) == 0)
|| !Arrays.equals(method.getParameterTypes(), parameterClasses)) continue;
try {
Expand Down

0 comments on commit f919f53

Please sign in to comment.