public class PlayerLocaleChangeEvent extends PlayerEvent
Event.Result
player
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.
|
getPlayer
getEventName, isAsynchronous
public String getOldLocale()
public String getNewLocale()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.