mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-1644: Add END_GATEWAY as a teleport reason
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
34646e3aeb
commit
f941b8b7ad
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue