From 9976cc847f81fceb21a5038cf67b4b21ada2ddd3 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Sun, 9 Jun 2013 13:38:09 +0100 Subject: Allow use of deprecated teleport function through interface. --- Essentials/src/com/earth2me/essentials/api/ITeleport.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 * -- cgit v1.2.3