Skip to content

Commit

Permalink
修复bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mcchampions committed Aug 2, 2023
1 parent 110f02f commit c66bb84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ replay_pid*
*.iml
**/target/
**/.flattened-pom.xml
test/
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public static Class<?> getEventTriggerClass() {
try {
if (isWh && isWs) {
System.out.println("检测到同时拥有 WebSocket 和 WebHook库,默认选择使用WebSocket库");
return Class.forName(ws);
} else if (isWh) {
return Class.forName(wh);
} else if (isWs) {
Expand All @@ -110,7 +111,6 @@ public static Class<?> getEventTriggerClass() {
} catch (ClassNotFoundException e) {
throw new RuntimeException(e);
}
return null;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<revision>2.4.9</revision>
<revision>2.5.0</revision>
</properties>

<groupId>io.github.minecraftchampions.dodoopenjava</groupId>
Expand Down

0 comments on commit c66bb84

Please sign in to comment.