1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-19 13:01:20 +02:00

Allow use of deprecated teleport function through interface.

This commit is contained in:
KHobbits
2013-06-09 13:38:09 +01:00
parent 123bffc32b
commit b23d6a6db1

View File

@@ -8,7 +8,7 @@ import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
public interface ITeleport public interface ITeleport
{ {
/** /**
* Used to skip teleportPlayer delay when teleporting someone to a location or player. * 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; 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 * Teleport a player to a specific location
* *