summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/Teleport.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/Teleport.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/Teleport.java5
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
{