rsapi: Rename missed function
This commit is contained in:
@@ -1179,7 +1179,7 @@ public abstract class RSClientMixin implements RSClient
|
|||||||
@Inject
|
@Inject
|
||||||
public static void clanMemberManagerChanged(int idx)
|
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")
|
@FieldHook("canvasWidth")
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public abstract class RSMessageMixin implements RSMessage
|
|||||||
@Override
|
@Override
|
||||||
public boolean isFromClanMate()
|
public boolean isFromClanMate()
|
||||||
{
|
{
|
||||||
RSClanChat cc = client.getClanMemberManager();
|
RSClanChat cc = client.getFriendsChatManager();
|
||||||
|
|
||||||
return cc != null && cc.findByName(this.getSenderUsername()) != null;
|
return cc != null && cc.findByName(this.getSenderUsername()) != null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -669,7 +669,7 @@ public interface RSClient extends RSGameShell, Client
|
|||||||
RSFriendSystem getFriendManager();
|
RSFriendSystem getFriendManager();
|
||||||
|
|
||||||
@Import("clanChat")
|
@Import("clanChat")
|
||||||
RSClanChat getClanMemberManager();
|
RSClanChat getFriendsChatManager();
|
||||||
|
|
||||||
@Import("loginType")
|
@Import("loginType")
|
||||||
RSLoginType getLoginType();
|
RSLoginType getLoginType();
|
||||||
|
|||||||
Reference in New Issue
Block a user