summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/api/ITeleport.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/api/ITeleport.java b/Essentials/src/com/earth2me/essentials/api/ITeleport.java
index c1465077c..ae93feddf 100644
--- a/Essentials/src/com/earth2me/essentials/api/ITeleport.java
+++ b/Essentials/src/com/earth2me/essentials/api/ITeleport.java
@@ -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
*