Server/Client/src/main/java/org/runite/client/Class60.java
Woah d821ac7197 Audio renaming (still need to find sound effect audio)
Identified the probable cause of the display thread death HDToolKit.bufferSwap. There's an error that gets thrown when the user exits the client without going through the proper way to do so which is unacceptable. A band-aid has been applied.
2021-03-25 18:08:27 -04:00

41 lines
1.4 KiB
Java

package org.runite.client;
final class Class60 {
static int anInt930;
static int anInt932;
static int anInt934;
static int anInt936;
static void method1208(byte var0, int var1) {
try {
if (-1 != var1) {
if (Unsorted.aBooleanArray1703[var1]) {
Unsorted.aClass153_3361.method2128(var1);
if (null != GameObject.aClass11ArrayArray1834[var1]) {
boolean var2 = true;
for (int var3 = 0; GameObject.aClass11ArrayArray1834[var1].length > var3; ++var3) {
if (GameObject.aClass11ArrayArray1834[var1][var3] != null) {
if (GameObject.aClass11ArrayArray1834[var1][var3].type == 2) {
var2 = false;
} else {
GameObject.aClass11ArrayArray1834[var1][var3] = null;
}
}
}
if (var2) {
GameObject.aClass11ArrayArray1834[var1] = null;
}
Unsorted.aBooleanArray1703[var1] = false;
}
}
}
} catch (RuntimeException var5) {
throw ClientErrorException.clientError(var5, "ig.B(" + var0 + ',' + var1 + ')');
}
}
}