13
0
geforkt von Mirrors/Paper

SPIGOT-362: Add TeleportCause.SPECTATE

By: Thinkofdeath <thinkofdeath@spigotmc.org>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2015-01-06 20:20:20 +00:00
Ursprung 83544bb9eb
Commit 6937ffacd4

Datei anzeigen

@ -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