Skip to content

Commit

Permalink
修正部分错误
Browse files Browse the repository at this point in the history
  • Loading branch information
SerendipityR-2022 authored Aug 23, 2022
1 parent 7ab3038 commit 3b0d16a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import cn.serendipityr.EndMinecraftPlusV2.VersionControl.ProtocolLibs;

public class EndMinecraftPlusV2 {
public static String ver = "1.2.4";
public static String ver = "1.2.5";

public static void main(String[] args) {
System.out.println("========================-Forked by SerendipityR-========================");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ public void disconnected(DisconnectedEvent e) {
OtherUtils.doSleep(ConfigUtil.RejoinDelay);

Client rejoinClient = createClient(ConfigUtil.AttackAddress, ConfigUtil.AttackPort, username, proxy);
rejoinClient.getSession().setReadTimeout(Math.toIntExact(ConfigUtil.RejoinDelay));
rejoinClient.getSession().setWriteTimeout(Math.toIntExact(ConfigUtil.RejoinDelay));
rejoinClient.getSession().setReadTimeout(5000);
rejoinClient.getSession().setWriteTimeout(5000);

rejoin++;
LogUtil.doLog(0,"[假人尝试重连] [" + username + "] [" + proxy + "]", "BotAttack");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ public void disconnected(DisconnectedEvent e) {
OtherUtils.doSleep(ConfigUtil.RejoinDelay);

Session rejoinClient = createClient(ConfigUtil.AttackAddress, ConfigUtil.AttackPort, username, proxy);
rejoinClient.setReadTimeout(Math.toIntExact(ConfigUtil.RejoinDelay));
rejoinClient.setWriteTimeout(Math.toIntExact(ConfigUtil.RejoinDelay));
rejoinClient.setReadTimeout(5000);
rejoinClient.setWriteTimeout(5000);

rejoin++;
LogUtil.doLog(0,"[假人尝试重连] [" + username + "] [" + proxy + "]", "BotAttack");
Expand Down

0 comments on commit 3b0d16a

Please sign in to comment.