mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 08:32:07 -07:00
SPIGOT-1644: Add END_GATEWAY as a teleport reason
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
@@ -60,6 +60,11 @@ public class PlayerTeleportEvent extends PlayerMoveEvent {
|
|||||||
* Entity/Player via the specatator menu
|
* Entity/Player via the specatator menu
|
||||||
*/
|
*/
|
||||||
SPECTATE,
|
SPECTATE,
|
||||||
|
/**
|
||||||
|
* Indicates the teleportation was caused by a player entering an End
|
||||||
|
* gateway
|
||||||
|
*/
|
||||||
|
END_GATEWAY,
|
||||||
/**
|
/**
|
||||||
* 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