Skip to content

Commit

Permalink
update 4.0.7.4000
Browse files Browse the repository at this point in the history
  • Loading branch information
MidCoard committed Mar 19, 2022
1 parent cf34322 commit eaf2f6f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ Maven 依赖
<dependency>
<groupId>top.focess</groupId>
<artifactId>focess-qq</artifactId>
<version>4.0.7.3000</version>
<version>4.0.7.4000</version>
</dependency>
```

Gradle 依赖
```gradle
implementation 'top.focess:focess-qq:4.0.7.3000'
implementation 'top.focess:focess-qq:4.0.7.4000'
```

开发文档移步本项目[Wiki](https://github.com/MIdCoard/MiraiQQ/wiki)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<description>A simple QQ Bot framework</description>
<groupId>top.focess</groupId>
<artifactId>focess-qq</artifactId>
<version>4.0.7.3000</version>
<version>4.0.7.4000</version>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,13 @@ private void analyseClass(@NotNull Class<?> c) {
if ((a = c.getAnnotation(annotation)) != null)
HANDLERS.get(annotation).handle(c, a, this);
}
for (Field field : c.getDeclaredFields())
if (Modifier.isStatic(field.getModifiers()))
for (Class<? extends Annotation> annotation : FIELD_ANNOTATION_HANDLERS.keySet()) {
Annotation a;
if ((a = field.getAnnotation(annotation)) != null)
FIELD_ANNOTATION_HANDLERS.get(annotation).handle(field, a, this);
}
}

public Class<?> findClass(String name, boolean resolve) throws ClassNotFoundException {
Expand Down

0 comments on commit eaf2f6f

Please sign in to comment.