public class PlayerLocaleChangeEvent extends PlayerEvent
Event.Result
player
Constructor and Description |
---|
PlayerLocaleChangeEvent(@NotNull Player who,
@NotNull String locale) |
Modifier and Type | Method and Description |
---|---|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
@NotNull String |
getLocale()
Deprecated.
in favour of
locale() |
Locale |
locale() |
getPlayer
callEvent, getEventName, isAsynchronous
@NotNull public Locale locale()
Player.getLocale()
@NotNull @Deprecated public @NotNull String getLocale()
locale()
Player.getLocale()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.