api: modify RemoveFriend to accept a nameable

Also update javadoc to reflect that it now also includes ignores
This commit is contained in:
Adam
2019-12-18 17:41:59 -05:00
parent 8592e4d342
commit 608ec68ae6
2 changed files with 5 additions and 4 deletions

View File

@@ -25,15 +25,16 @@
package net.runelite.api.events;
import lombok.Value;
import net.runelite.api.Nameable;
/**
* An event where a request to remove a friend is sent to the server.
* An event trigger when a player is removed from the friend or ignore list.
*/
@Value
public class RemovedFriend
{
/**
* The name of the removed friend.
* The removed friend or ignore entry
*/
private final String name;
private final Nameable nameable;
}