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 | 9976cc847f81fceb21a5038cf67b4b21ada2ddd3 (patch) | |
tree | 424b39264cf54c170ac48f92e85a55238048aa23 | |
parent | 56f86c9ae49bbf43a1173559ce43423f8f19902b (diff) | |
download | Essentials-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.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 * |