Package org.bukkit.event.player
Class PlayerLocaleChangeEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerLocaleChangeEvent
Called when a player changes their locale in the client settings.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerLocaleChangeEvent
-
-
Method Details
-
locale
- Returns:
- the player's new locale
- See Also:
Player.getLocale()
-
getLocale
Deprecated.in favour oflocale()
- Returns:
- the player's new locale
- See Also:
Player.getLocale()
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-
locale()