修正部分错误
This commit is contained in:
parent
7ab3038e79
commit
3b0d16a822
|
@ -8,7 +8,7 @@ import cn.serendipityr.EndMinecraftPlusV2.VersionControl.AttackManager;
|
|||
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-========================");
|
||||
|
|
|
@ -307,8 +307,8 @@ public class BotAttack extends IAttack {
|
|||
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");
|
||||
|
|
|
@ -346,8 +346,8 @@ public class NewBotAttack extends IAttack {
|
|||
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");
|
||||
|
|
Loading…
Reference in New Issue