Refactor part of the connection loop

This commit is contained in:
Pazaz 2022-04-20 13:54:03 -04:00
parent 80c6ba05ff
commit f462316fce
158 changed files with 2147 additions and 2133 deletions

View file

@ -26,9 +26,9 @@ public final class Static10 {
@OriginalMember(owner = "client!an", name = "a", descriptor = "(BI)I")
public static int method347(@OriginalArg(1) int arg0) {
if (Static124.aClass95_2 != null) {
Static124.aClass95_2.method2834();
Static124.aClass95_2 = null;
if (Static124.socket != null) {
Static124.socket.method2834();
Static124.socket = null;
}
Static127.anInt3132++;
if (Static127.anInt3132 > 4) {
@ -72,14 +72,14 @@ public final class Static10 {
}
@OriginalMember(owner = "client!an", name = "h", descriptor = "(I)Z")
public static boolean method349() {
public static boolean readPacket() {
try {
return Static4.method26();
} catch (@Pc(14) IOException local14) {
Static175.method3279();
return true;
} catch (@Pc(19) Exception local19) {
@Pc(61) String local61 = "T2 - " + Static164.anInt3985 + "," + Static5.anInt45 + "," + Static49.anInt1462 + " - " + Static223.anInt5028 + "," + (Static225.anInt5068 + Static173.aClass8_Sub4_Sub1_2.anIntArray318[0]) + "," + (Static173.aClass8_Sub4_Sub1_2.anIntArray317[0] + Static142.anInt3483) + " - ";
@Pc(61) String local61 = "T2 - " + Static164.anInt3985 + "," + Static5.anInt45 + "," + Static49.anInt1462 + " - " + Static223.anInt5028 + "," + (Static225.originX + Static173.self.movementQueueX[0]) + "," + (Static173.self.movementQueueZ[0] + Static142.originZ) + " - ";
for (@Pc(63) int local63 = 0; local63 < Static223.anInt5028 && local63 < 50; local63++) {
local61 = local61 + Static57.aClass3_Sub15_Sub1_3.data[local63] + ",";
}