@Deprecated public class PlayerLocaleChangeEvent extends PlayerEvent
PlayerLocaleChangeEvent
upstreamEvent.Result
player
Constructor | Description |
---|---|
PlayerLocaleChangeEvent(Player player,
String oldLocale,
String newLocale) |
Deprecated.
|
Modifier and Type | Method | 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.
|
callEvent, getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
public String getOldLocale()
public String getNewLocale()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.