summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2011-10-04 10:13:44 +0100
committerKHobbits <rob@khobbits.co.uk>2011-10-04 10:13:44 +0100
commite71eba3d1f48e15b6597afb1c42c5ff5f78efcf9 (patch)
tree8bfe6c524fb34645866ff5462a0be9163c18e033
parentdf0d773b24374e51b8b08a8d00fb526e6de8e1af (diff)
downloadEssentials-e71eba3d1f48e15b6597afb1c42c5ff5f78efcf9.tar
Essentials-e71eba3d1f48e15b6597afb1c42c5ff5f78efcf9.tar.gz
Essentials-e71eba3d1f48e15b6597afb1c42c5ff5f78efcf9.tar.lz
Essentials-e71eba3d1f48e15b6597afb1c42c5ff5f78efcf9.tar.xz
Essentials-e71eba3d1f48e15b6597afb1c42c5ff5f78efcf9.zip
Fix for /tjail not teleporting users back due to cooldown.
-rw-r--r--Essentials/src/com/earth2me/essentials/Teleport.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Teleport.java b/Essentials/src/com/earth2me/essentials/Teleport.java
index 608663561..845f9c3a3 100644
--- a/Essentials/src/com/earth2me/essentials/Teleport.java
+++ b/Essentials/src/com/earth2me/essentials/Teleport.java
@@ -256,7 +256,7 @@ public class Teleport implements Runnable
public void back() throws Exception
{
- back(null);
+ now(new Target(user.getLastLocation()));
}
public void home(IUser user, String home, Trade chargeFor) throws Exception