project: wrap up loose ends in api, upstream to fix the broken things

This commit is contained in:
TheRealNull
2021-01-04 01:52:35 -05:00
parent 02b856556c
commit d62af89798
8 changed files with 52 additions and 14 deletions

View File

@@ -19,7 +19,7 @@ public abstract class RSFriendSystemMixin implements RSFriendSystem
@Inject
public void rl$removeFriend(String friendName)
{
RemovedFriend removedFriend = new RemovedFriend(friendName);
RemovedFriend removedFriend = new RemovedFriend(client.getFriendManager().getFriendContainer().findByName(friendName));
client.getCallbacks().post(removedFriend);
}