Package net.minestom.server.event.player
Class PlayerSettingsChangeEvent
java.lang.Object
net.minestom.server.event.player.PlayerSettingsChangeEvent
- All Implemented Interfaces:
Event
,EntityEvent
,PlayerEvent
Called after the player signals the server that his settings has been modified.
-
Constructor Details
-
PlayerSettingsChangeEvent
-
-
Method Details
-
getPlayer
Gets the player who changed his settings.You can retrieve the new player settings with
Player.getSettings()
.- Specified by:
getPlayer
in interfacePlayerEvent
- Returns:
- the player
-