summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-06-09 13:38:09 +0100
committerKHobbits <rob@khobbits.co.uk>2013-06-09 13:38:09 +0100
commit9976cc847f81fceb21a5038cf67b4b21ada2ddd3 (patch)
tree424b39264cf54c170ac48f92e85a55238048aa23
parent56f86c9ae49bbf43a1173559ce43423f8f19902b (diff)
downloadEssentials-9976cc847f81fceb21a5038cf67b4b21ada2ddd3.tar
Essentials-9976cc847f81fceb21a5038cf67b4b21ada2ddd3.tar.gz
Essentials-9976cc847f81fceb21a5038cf67b4b21ada2ddd3.tar.lz
Essentials-9976cc847f81fceb21a5038cf67b4b21ada2ddd3.tar.xz
Essentials-9976cc847f81fceb21a5038cf67b4b21ada2ddd3.zip
Allow use of deprecated teleport function through interface.
-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
*