Class ServerSwitchEvent


  • public class ServerSwitchEvent
    extends Event
    Called when a player has changed servers.
    • Method Detail

      • getPlayer

        public ProxiedPlayer getPlayer()
        Player whom the server is for.
      • getFrom

        public ServerInfo getFrom()
        Server the player is switch from. May be null if initial proxy connection.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object