Skip to content

Commit

Permalink
fix issue 66 (#67)
Browse files Browse the repository at this point in the history
Co-authored-by: 9-9-9-9 <9-9-9-9>
  • Loading branch information
9-9-9-9 authored Jan 19, 2022
1 parent bc50888 commit 1cbdbbf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>bh.bot</groupId>
<artifactId>99bot</artifactId>
<version>2.8.3</version>
<version>2.8.4</version>

<dependencies>
<dependency>
Expand Down
8 changes: 6 additions & 2 deletions src/main/java/bh/bot/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,12 @@ public static void exit(int exitCode) {
}

public static void warningSupport() {
Rad.pWarn(20,"Only support English interface");
Rad.pWarn(50,"Only support screen scale 100% (original) otherwise bot will working wrongly");
try {
Rad.pWarn(20,"Only support English interface");
Rad.pWarn(50,"Only support screen scale 100%% (original) otherwise bot will working wrongly");
} catch (Throwable t) {
// ignore
}
}

public static final int EXIT_CODE_SCREEN_RESOLUTION_ISSUE = 3;
Expand Down
2 changes: 1 addition & 1 deletion web/json/reject-versions-2.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"bv":["0.0.1"],"bf":{"0.0.2":["tp"],"2.3.0":["afk","expedition"],"2.4.0":["afk","expedition"],"2.8.0":["world-boss-team"]}}
{"bv":["2.8.3"],"bf":{"0.0.2":["tp"],"2.3.0":["afk","expedition"],"2.4.0":["afk","expedition"],"2.8.0":["world-boss-team"]}}

0 comments on commit 1cbdbbf

Please sign in to comment.