Package net.minestom.server.event.player
Class PlayerDisconnectEvent
java.lang.Object
net.minestom.server.event.Event
net.minestom.server.event.player.PlayerDisconnectEvent
public class PlayerDisconnectEvent extends Event
Called when a player disconnect.
-
Constructor Summary
Constructors Constructor Description PlayerDisconnectEvent(Player player)
-
Method Summary
-
Constructor Details
-
Method Details
-
getPlayer
Gets the player who is disconnecting.- Returns:
- the player
-