wave N+2: vfbuild16 fixes (aaj EF lambda copies in joinServer/loadThread/sendChat)

This commit is contained in:
loki5512344 2026-10-03 15:29:07 +02:00
parent 1434ba25c4
commit 1160e7f845
Signed by: boba
GPG key ID: 253067914055423B
3 changed files with 190 additions and 9 deletions

View file

@ -1476,6 +1476,8 @@ public class aaj {
while (true) {
switch (var5) {
case -542647713:
final Minecraft var3f = var3;
final String var2f = var2;
var3.execute(
() -> {
int var3x = 1000740336;
@ -1483,22 +1485,22 @@ public class aaj {
while (true) {
switch (var3x) {
case -1581253811:
var3.disconnectWithProgressScreen();
var3f.disconnectWithProgressScreen();
var3x = -356390454;
break;
case -356390454:
ConnectScreen.startConnecting(
new TitleScreen(),
var3,
ServerAddress.parseString(var2),
new ServerData(var1.username(), var2, Type.OTHER),
var3f,
ServerAddress.parseString(var2f),
new ServerData(var1.username(), var2f, Type.OTHER),
(boolean)(((0)) != 0),
null
);
return;
case 1000740336:
default:
if (var3.level != null) {
if (var3f.level != null) {
var3x = -1581253811;
} else {
var3x = -356390454;
@ -1769,6 +1771,7 @@ public class aaj {
this.threadInFlight = (boolean)(((1)) != 0);
this.lastChatPoll = System.currentTimeMillis();
var1 = this.chatWith;
final String var1f = var1;
anb.thread(var1, var2x -> {
int var3x = 926357645;
@ -1794,7 +1797,7 @@ public class aaj {
case 926357645:
default:
this.threadInFlight = (boolean)(((0)) != 0);
if (!var1.equals(this.chatWith)) {
if (!var1f.equals(this.chatWith)) {
var3x = -1567304631;
} else {
var3x = 1799372623;
@ -1856,13 +1859,16 @@ public class aaj {
var3 = new amw((boolean)(((1)) != 0), var1, System.currentTimeMillis());
this.chatPending.add(var3);
this.scrollToBottom = (boolean)(((1)) != 0);
final String var1f = var1;
final String var2f = var2;
final amw var3f = var3;
anb.sendMessage(var2, var1, var4x -> {
int var5x = -549797788;
while (true) {
switch (var5x) {
case -710309231:
this.chatPending.remove(var3);
this.chatPending.remove(var3f);
if (var4x == null) {
var5x = 1278834584;
} else {
@ -1873,7 +1879,7 @@ public class aaj {
return;
case -549797788:
default:
if (!var2.equals(this.chatWith)) {
if (!var2f.equals(this.chatWith)) {
var5x = -559696162;
} else {
var5x = -710309231;
@ -1885,7 +1891,7 @@ public class aaj {
var5x = 1768563482;
break;
case 1278834584:
this.chatMessages.add(new amw((boolean)(((1)) != 0), var1, var3.at()));
this.chatMessages.add(new amw((boolean)(((1)) != 0), var1f, var3f.at()));
this.scrollToBottom = (boolean)(((1)) != 0);
this.loadThread();
var5x = 1768563482;