mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 02:02:04 -07:00
SPIGOT-362: Add TeleportCause.SPECTATE
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
@@ -55,6 +55,11 @@ public class PlayerTeleportEvent extends PlayerMoveEvent {
|
|||||||
* portal
|
* portal
|
||||||
*/
|
*/
|
||||||
END_PORTAL,
|
END_PORTAL,
|
||||||
|
/**
|
||||||
|
* Indicates the teleportation was caused by a player teleporting to a
|
||||||
|
* Entity/Player via the specatator menu
|
||||||
|
*/
|
||||||
|
SPECTATE,
|
||||||
/**
|
/**
|
||||||
* Indicates the teleportation was caused by an event not covered by
|
* Indicates the teleportation was caused by an event not covered by
|
||||||
* this enum
|
* this enum
|
||||||
|
Reference in New Issue
Block a user