use of org.lanternpowered.server.entity.event.SpectateEntityEvent in project LanternServer by LanternPowered.
the class LanternPlayer method setSpectatorTarget.
@Override
public void setSpectatorTarget(@Nullable Entity entity) {
this.spectatorEntity = entity;
triggerEvent(new SpectateEntityEvent(entity));
}
Aggregations