Class FriendshipCommandEvent

java.lang.Object
net.md_5.bungee.api.plugin.Event
de.simonsator.partyandfriends.api.events.command.PAFSubCommandEvent<FriendSubCommand>
de.simonsator.partyandfriends.api.events.command.FriendshipCommandEvent
All Implemented Interfaces:
net.md_5.bungee.api.plugin.Cancellable

public class FriendshipCommandEvent extends PAFSubCommandEvent<FriendSubCommand>
  • Constructor Details

  • Method Details

    • getInteractPlayer

      public PAFPlayer getInteractPlayer()
      Returns:
      Returns either the player to whom it is tried to send the friend request if this event was called by an instance of the class Add or the player who did send the friend request if the event was called by an instance of the class Accept.