public class ServerSwitchEvent extends Event
Constructor and Description |
---|
ServerSwitchEvent(ProxiedPlayer player,
ServerInfo from) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
ServerInfo |
getFrom()
Server the player is switch from.
|
ProxiedPlayer |
getPlayer()
Player whom the server is for.
|
int |
hashCode() |
String |
toString() |
public ServerSwitchEvent(ProxiedPlayer player, ServerInfo from)
public ProxiedPlayer getPlayer()
public ServerInfo getFrom()
protected boolean canEqual(Object other)
Copyright © 2012–2020 SpigotMC. All rights reserved.