PlayerLocaleChangeEvent
upstream@Deprecated public class PlayerLocaleChangeEvent extends PlayerEvent
Event.Result
player
Constructor and Description |
---|
PlayerLocaleChangeEvent(Player player,
String oldLocale,
String newLocale)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList()
Deprecated.
|
HandlerList |
getHandlers()
Deprecated.
|
String |
getNewLocale()
Deprecated.
Gets the locale the player is changed to.
|
String |
getOldLocale()
Deprecated.
Gets the locale the player switched from.
|
getPlayer
callEvent, getEventName, isAsynchronous
public String getOldLocale()
public String getNewLocale()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.