mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-24 01:27:38 +01:00
Add PendingConnection#isTransferred API method
This commit is contained in:
parent
94d5b0d03c
commit
b52b14696c
@ -92,6 +92,14 @@ public interface PendingConnection extends Connection
|
||||
*/
|
||||
boolean isLegacy();
|
||||
|
||||
/**
|
||||
* Gets if this connection has been transferred from another server.
|
||||
*
|
||||
* @return true if the connection has been transferred
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
boolean isTransferred();
|
||||
|
||||
/**
|
||||
* Retrieves a cookie from this pending connection.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user