mirror of
https://github.com/SerendipityR-2022/EndMinecraftPlusV2.git
synced 2024-10-31 20:08:00 +00:00
修复一些错误
This commit is contained in:
parent
1f461168b1
commit
77bac4f784
@ -138,7 +138,7 @@ public class ConfigUtil {
|
||||
ForgeModList.put("catanticheat", "1.2.6");
|
||||
}
|
||||
|
||||
RandomMAC = config.getBoolean("MACChecker.RandomMAC");
|
||||
RandomMAC = config.getBoolean("AdvancedSettings.MACChecker.RandomMAC");
|
||||
|
||||
checkSRV();
|
||||
|
||||
|
@ -377,7 +377,9 @@ public class BotAttack extends IAttack {
|
||||
session.send(new ClientPluginMessagePacket("VexView", "Verification:1.8.10".getBytes()));
|
||||
break;
|
||||
case "MAC|Check":
|
||||
if (ConfigUtil.RandomMAC && packet.getData()[0] == 1) {
|
||||
LogUtil.doLog(0, "Channel: " + packet.getChannel() + " | Data: " + Arrays.toString(packet.getData()), "DEBUG");
|
||||
|
||||
if (ConfigUtil.RandomMAC) {
|
||||
byte[] MACAddress;
|
||||
|
||||
ByteArrayOutputStream buf = new ByteArrayOutputStream();
|
||||
@ -405,6 +407,7 @@ public class BotAttack extends IAttack {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
LogUtil.doLog(0, "Channel: " + packet.getChannel() + " | Data: " + Arrays.toString(packet.getData()), "DEBUG");
|
||||
}
|
||||
} else if (recvPacket instanceof ServerJoinGamePacket) {
|
||||
session.setFlag("join", true);
|
||||
|
Loading…
Reference in New Issue
Block a user