mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Allow use of deprecated teleport function through interface.
This commit is contained in:
parent
56f86c9ae4
commit
9976cc847f
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,7 @@ import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
|
|||
|
||||
|
||||
public interface ITeleport
|
||||
{
|
||||
{
|
||||
/**
|
||||
* Used to skip teleportPlayer delay when teleporting someone to a location or player.
|
||||
*
|
||||
|
@ -29,6 +29,9 @@ public interface ITeleport
|
|||
*/
|
||||
void now(Player entity, boolean cooldown, TeleportCause cause) throws Exception;
|
||||
|
||||
@Deprecated
|
||||
void teleport(Location loc, Trade chargeFor) throws Exception;
|
||||
|
||||
/**
|
||||
* Teleport a player to a specific location
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue