diff options
author | snowleo <schneeleo@gmail.com> | 2011-12-08 02:23:44 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-12-08 02:23:44 +0100 |
commit | ae7d968f5c87c40a93f02f0cbd109245cb5c1443 (patch) | |
tree | 95a474863e0485a88edd6e12a76009bd79d3021d | |
parent | 5002e7a6ad13295ed85d5758da5a739ade116a72 (diff) | |
download | Essentials-ae7d968f5c87c40a93f02f0cbd109245cb5c1443.tar Essentials-ae7d968f5c87c40a93f02f0cbd109245cb5c1443.tar.gz Essentials-ae7d968f5c87c40a93f02f0cbd109245cb5c1443.tar.lz Essentials-ae7d968f5c87c40a93f02f0cbd109245cb5c1443.tar.xz Essentials-ae7d968f5c87c40a93f02f0cbd109245cb5c1443.zip |
Fix for Towny using an old method.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/Teleport.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Teleport.java b/Essentials/src/com/earth2me/essentials/Teleport.java index c627279c4..9c21ffc6d 100644 --- a/Essentials/src/com/earth2me/essentials/Teleport.java +++ b/Essentials/src/com/earth2me/essentials/Teleport.java @@ -190,6 +190,11 @@ public class Teleport implements Runnable, ITeleport { cancel(false); } + + public void teleport(Location loc, Trade chargeFor) throws Exception + { + teleport(new Target(loc), chargeFor, TeleportCause.PLUGIN); + } public void teleport(Location loc, Trade chargeFor, TeleportCause cause) throws Exception { |