#3405: Fix typo in ProxiedPlayer docs and add docs to ServerDisconnectEvent
This commit is contained in:
parent
e71767688d
commit
41471da9db
@ -15,7 +15,7 @@ import net.md_5.bungee.api.event.ServerConnectEvent;
|
|||||||
import net.md_5.bungee.api.score.Scoreboard;
|
import net.md_5.bungee.api.score.Scoreboard;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a player who's connection is being connected to somewhere else,
|
* Represents a player whose connection is being connected to somewhere else,
|
||||||
* whether it be a remote or embedded server.
|
* whether it be a remote or embedded server.
|
||||||
*/
|
*/
|
||||||
public interface ProxiedPlayer extends Connection, CommandSender
|
public interface ProxiedPlayer extends Connection, CommandSender
|
||||||
|
@ -9,6 +9,13 @@ import net.md_5.bungee.api.config.ServerInfo;
|
|||||||
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
import net.md_5.bungee.api.connection.ProxiedPlayer;
|
||||||
import net.md_5.bungee.api.plugin.Event;
|
import net.md_5.bungee.api.plugin.Event;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called when the player is disconnected from a server, for example during
|
||||||
|
* server switching.
|
||||||
|
*
|
||||||
|
* If the player is kicked from a server, {@link ServerKickEvent} will be called
|
||||||
|
* instead.
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@ToString(callSuper = false)
|
@ToString(callSuper = false)
|
||||||
|
Loading…
Reference in New Issue
Block a user