public class PlayerTeleportEndGatewayEvent extends PlayerTeleportEvent
PlayerTeleportEvent.TeleportCause
Event.Result
player
Constructor and Description |
---|
PlayerTeleportEndGatewayEvent(Player player,
Location from,
Location to,
EndGateway gateway) |
Modifier and Type | Method and Description |
---|---|
EndGateway |
getGateway()
The gateway triggering the teleport
|
getCause, getHandlerList, getHandlers
getFrom, getTo, isCancelled, setCancelled, setFrom, setTo
getPlayer
callEvent, getEventName, isAsynchronous
public PlayerTeleportEndGatewayEvent(Player player, Location from, Location to, EndGateway gateway)
public EndGateway getGateway()
Copyright © 2021. All rights reserved.