rsapi: Rename missed function

This commit is contained in:
Owain van Brakel
2020-06-18 14:08:23 +02:00
parent 17765e01db
commit ca4e84114e
3 changed files with 3 additions and 3 deletions

View File

@@ -1179,7 +1179,7 @@ public abstract class RSClientMixin implements RSClient
@Inject
public static void clanMemberManagerChanged(int idx)
{
client.getCallbacks().post(FriendsChatChanged.class, new FriendsChatChanged(client.getClanMemberManager() != null));
client.getCallbacks().post(FriendsChatChanged.class, new FriendsChatChanged(client.getFriendsChatManager() != null));
}
@FieldHook("canvasWidth")

View File

@@ -76,7 +76,7 @@ public abstract class RSMessageMixin implements RSMessage
@Override
public boolean isFromClanMate()
{
RSClanChat cc = client.getClanMemberManager();
RSClanChat cc = client.getFriendsChatManager();
return cc != null && cc.findByName(this.getSenderUsername()) != null;
}

View File

@@ -669,7 +669,7 @@ public interface RSClient extends RSGameShell, Client
RSFriendSystem getFriendManager();
@Import("clanChat")
RSClanChat getClanMemberManager();
RSClanChat getFriendsChatManager();
@Import("loginType")
RSLoginType getLoginType();