mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 00:22:08 -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
|
||||
*/
|
||||
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
|
||||
* this enum
|
||||
|
Reference in New Issue
Block a user