mixins: RSFriendSystem ignore add/remove

This commit is contained in:
JumpIfZero
2022-02-12 17:31:40 +02:00
parent 0e9466c6d7
commit f731c35998
3 changed files with 32 additions and 0 deletions

View File

@@ -2165,6 +2165,22 @@ public abstract class RSClientMixin implements RSClient
friendSystem.removeFriend(friend);
}
@Inject
@Override
public void addIgnore(String friend)
{
RSFriendSystem friendSystem = getFriendManager();
friendSystem.addIgnore(friend);
}
@Inject
@Override
public void removeIgnore(String friend)
{
RSFriendSystem friendSystem = getFriendManager();
friendSystem.removeIgnore(friend);
}
@Inject
private static BigInteger modulus;