diff options
author | KHobbits <rob@khobbits.co.uk> | 2013-06-09 13:38:09 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-06-09 13:38:09 +0100 |
commit | f458f47eaa081b5e3fccae495c0ed540c76b2d57 (patch) | |
tree | b77b77ca5da5b1951d1f4c4d4e7871267c9e383c | |
parent | cf030932ac28e0081aaf796aa7f5b8a95db6cfaf (diff) | |
download | Essentials-f458f47eaa081b5e3fccae495c0ed540c76b2d57.tar Essentials-f458f47eaa081b5e3fccae495c0ed540c76b2d57.tar.gz Essentials-f458f47eaa081b5e3fccae495c0ed540c76b2d57.tar.lz Essentials-f458f47eaa081b5e3fccae495c0ed540c76b2d57.tar.xz Essentials-f458f47eaa081b5e3fccae495c0ed540c76b2d57.zip |
Allow use of deprecated teleport function through interface.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/api/ITeleport.java | 5 |
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 * |