diff --git a/core/src/main/java/co/aikar/commands/Annotations.java b/core/src/main/java/co/aikar/commands/Annotations.java index 736fd511..48ef4e33 100644 --- a/core/src/main/java/co/aikar/commands/Annotations.java +++ b/core/src/main/java/co/aikar/commands/Annotations.java @@ -108,9 +108,11 @@ class Annotations extends AnnotationLookups { return object.getAnnotation(annoClass); } else { for (Annotation otherAnnotation : object.getDeclaredAnnotations()) { - final Annotation foundAnnotation = getAnnotationRecursive(otherAnnotation.annotationType(), annoClass); - if (foundAnnotation != null) { - return foundAnnotation; + if (!otherAnnotation.annotationType().getPackage().getName().startsWith("java.")) { + final Annotation foundAnnotation = getAnnotationRecursive(otherAnnotation.annotationType(), annoClass); + if (foundAnnotation != null) { + return foundAnnotation; + } } } }