Package org.bukkit.event.player
Class PlayerLocaleChangeEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerLocaleChangeEvent
public class PlayerLocaleChangeEvent extends PlayerEvent
Called when a player changes their locale in the client settings.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PlayerLocaleChangeEvent(Player who, String locale)
-
Method Summary
Modifier and Type Method Description static HandlerList
getHandlerList()
HandlerList
getHandlers()
String
getLocale()
-
Constructor Details
-
Method Details
-
getLocale
- Returns:
- the player's new locale
- See Also:
Player.getLocale()
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-