Class ServerDisconnectEvent


  • public class ServerDisconnectEvent
    extends Event
    • Constructor Detail

      • ServerDisconnectEvent

        public ServerDisconnectEvent​(@NonNull
                                     @NonNull ProxiedPlayer player,
                                     @NonNull
                                     @NonNull ServerInfo target)
    • Method Detail

      • getPlayer

        @NonNull
        public @NonNull ProxiedPlayer getPlayer()
        Player disconnecting from a server.
      • getTarget

        @NonNull
        public @NonNull ServerInfo getTarget()
        Server the player is disconnecting from.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object