runescape-client: fix the thing

This commit is contained in:
ThatGamerBlue
2020-12-11 06:14:29 +00:00
parent f74baf08ce
commit 463bc42f5f
325 changed files with 35526 additions and 35531 deletions

View File

@@ -12,7 +12,7 @@ public class Friend extends Buddy {
boolean field3667;
Friend() {
}
} // L: 9
@ObfuscatedName("h")
@ObfuscatedSignature(
@@ -21,24 +21,24 @@ public class Friend extends Buddy {
)
@Export("compareToFriend")
int compareToFriend(Friend var1) {
if (super.world == Client.worldId && Client.worldId != var1.world) {
if (super.world == Client.worldId && Client.worldId != var1.world) { // L: 12
return -1;
} else if (Client.worldId == var1.world && super.world != Client.worldId) {
} else if (Client.worldId == var1.world && super.world != Client.worldId) { // L: 13
return 1;
} else if (super.world != 0 && var1.world == 0) {
} else if (super.world != 0 && var1.world == 0) { // L: 14
return -1;
} else if (var1.world != 0 && super.world == 0) {
} else if (var1.world != 0 && super.world == 0) { // L: 15
return 1;
} else if (this.field3666 && !var1.field3666) {
} else if (this.field3666 && !var1.field3666) { // L: 16
return -1;
} else if (!this.field3666 && var1.field3666) {
} else if (!this.field3666 && var1.field3666) { // L: 17
return 1;
} else if (this.field3667 && !var1.field3667) {
} else if (this.field3667 && !var1.field3667) { // L: 18
return -1;
} else if (!this.field3667 && var1.field3667) {
} else if (!this.field3667 && var1.field3667) { // L: 19
return 1;
} else {
return super.world != 0 ? super.int2 - var1.int2 : var1.int2 - super.int2;
return super.world != 0 ? super.int2 - var1.int2 : var1.int2 - super.int2; // L: 20 21 24
}
}
@@ -49,10 +49,10 @@ public class Friend extends Buddy {
)
@Export("compareTo_user")
public int compareTo_user(User var1) {
return this.compareToFriend((Friend)var1);
return this.compareToFriend((Friend)var1); // L: 29
}
public int compareTo(Object var1) {
return this.compareToFriend((Friend)var1);
return this.compareToFriend((Friend)var1); // L: 33
}
}