runescape-client: fix the thing
This commit is contained in:
@@ -20,9 +20,9 @@ public class ClanMate extends Buddy {
|
||||
TriBool ignored;
|
||||
|
||||
ClanMate() {
|
||||
this.friend = TriBool.TriBool_unknown;
|
||||
this.ignored = TriBool.TriBool_unknown;
|
||||
}
|
||||
this.friend = TriBool.TriBool_unknown; // L: 6
|
||||
this.ignored = TriBool.TriBool_unknown; // L: 7
|
||||
} // L: 9
|
||||
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedSignature(
|
||||
@@ -31,8 +31,8 @@ public class ClanMate extends Buddy {
|
||||
)
|
||||
@Export("clearIsFriend")
|
||||
void clearIsFriend() {
|
||||
this.friend = TriBool.TriBool_unknown;
|
||||
}
|
||||
this.friend = TriBool.TriBool_unknown; // L: 12
|
||||
} // L: 13
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
@@ -41,11 +41,11 @@ public class ClanMate extends Buddy {
|
||||
)
|
||||
@Export("isFriend")
|
||||
public final boolean isFriend() {
|
||||
if (this.friend == TriBool.TriBool_unknown) {
|
||||
this.fillIsFriend();
|
||||
if (this.friend == TriBool.TriBool_unknown) { // L: 16
|
||||
this.fillIsFriend(); // L: 17
|
||||
}
|
||||
|
||||
return this.friend == TriBool.TriBool_true;
|
||||
return this.friend == TriBool.TriBool_true; // L: 19
|
||||
}
|
||||
|
||||
@ObfuscatedName("x")
|
||||
@@ -55,8 +55,8 @@ public class ClanMate extends Buddy {
|
||||
)
|
||||
@Export("fillIsFriend")
|
||||
void fillIsFriend() {
|
||||
this.friend = MilliClock.friendSystem.friendsList.contains(super.username) ? TriBool.TriBool_true : TriBool.TriBool_false;
|
||||
}
|
||||
this.friend = MilliClock.friendSystem.friendsList.contains(super.username) ? TriBool.TriBool_true : TriBool.TriBool_false; // L: 23
|
||||
} // L: 24
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
@@ -65,8 +65,8 @@ public class ClanMate extends Buddy {
|
||||
)
|
||||
@Export("clearIsIgnored")
|
||||
void clearIsIgnored() {
|
||||
this.ignored = TriBool.TriBool_unknown;
|
||||
}
|
||||
this.ignored = TriBool.TriBool_unknown; // L: 27
|
||||
} // L: 28
|
||||
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
@@ -75,11 +75,11 @@ public class ClanMate extends Buddy {
|
||||
)
|
||||
@Export("isIgnored")
|
||||
public final boolean isIgnored() {
|
||||
if (this.ignored == TriBool.TriBool_unknown) {
|
||||
this.fillIsIgnored();
|
||||
if (this.ignored == TriBool.TriBool_unknown) { // L: 31
|
||||
this.fillIsIgnored(); // L: 32
|
||||
}
|
||||
|
||||
return this.ignored == TriBool.TriBool_true;
|
||||
return this.ignored == TriBool.TriBool_true; // L: 34
|
||||
}
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@@ -89,6 +89,6 @@ public class ClanMate extends Buddy {
|
||||
)
|
||||
@Export("fillIsIgnored")
|
||||
void fillIsIgnored() {
|
||||
this.ignored = MilliClock.friendSystem.ignoreList.contains(super.username) ? TriBool.TriBool_true : TriBool.TriBool_false;
|
||||
}
|
||||
this.ignored = MilliClock.friendSystem.ignoreList.contains(super.username) ? TriBool.TriBool_true : TriBool.TriBool_false; // L: 38
|
||||
} // L: 39
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user