public class PlayerLocaleChangeEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description |
|---|
PlayerLocaleChangeEvent(Player player,
String oldLocale,
String newLocale) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
String |
getNewLocale()
Gets the locale the player is changed to.
|
String |
getOldLocale()
Gets the locale the player switched from.
|
getPlayergetEventName, isAsynchronouspublic String getOldLocale()
public String getNewLocale()
public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.