public abstract class SpectateEvent extends SourcedEvent
Spectator
.Modifier and Type | Method and Description |
---|---|
org.bukkit.entity.Player |
getSource()
Source of this event.
|
Spectator |
getSpectator()
Spectator instance associated with this event. |
hasSource
@NotNull public org.bukkit.entity.Player getSource()
SourcedEvent
getSource
in class SourcedEvent
CommandSender
that is the source of this event or null.