public class PlayerChangedWorldEvent extends PlayerEvent
Event.Resultplayer| Constructor | Description |
|---|---|
PlayerChangedWorldEvent(@NotNull Player player,
@NotNull World from) |
| Modifier and Type | Method | Description |
|---|---|---|
@NotNull World |
getFrom() |
Gets the world the player is switching from.
|
static @NotNull HandlerList |
getHandlerList() |
|
@NotNull HandlerList |
getHandlers() |
getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayer@NotNull public @NotNull World getFrom()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.