22w40a fixed client crash on some server MOTDs

This commit is contained in:
LAX1DUDE 2022-10-07 21:44:27 -07:00
parent d5259f9142
commit 9487b93973
10 changed files with 44662 additions and 44650 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@ public class ConfigConstants {
public static boolean profanity = false;
public static final String version = "22w38a";
public static final String version = "22w40a";
public static final String mainMenuString = "eaglercraft " + version;
public static final String forkMe = "https://github.com/lax1dude/eaglercraft";

View File

@ -69,10 +69,16 @@ class GuiSlotServer extends GuiSlot {
protected void drawSlot(int par1, int par2, int par3, int par4, Tessellator par5Tessellator) {
if (par1 < GuiMultiplayer.getInternetServerList(this.parentGui).countServers()) {
this.func_77247_d(par1, par2, par3, par4, par5Tessellator);
try {
this.func_77247_d(par1, par2, par3, par4, par5Tessellator);
}catch(Throwable t) {
}
} else if (par1 < GuiMultiplayer.getInternetServerList(this.parentGui).countServers()
+ GuiMultiplayer.getListOfLanServers(this.parentGui).countServers()) {
this.func_77248_b(par1, par2, par3, par4, par5Tessellator);
try {
this.func_77248_b(par1, par2, par3, par4, par5Tessellator);
}catch(Throwable t) {
}
} else {
this.func_77249_c(par1, par2, par3, par4, par5Tessellator);
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long