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
commitb672d38db8ae4961f88a674c490950c2e5b0f7b4 (patch)
tree739750e4b54ab54d75d4297a10cdd1e896e3c596
parentacdad5c6ac2bbdb43c9e6ba251364311ca631054 (diff)
downloadEssentials-b672d38db8ae4961f88a674c490950c2e5b0f7b4.tar
Essentials-b672d38db8ae4961f88a674c490950c2e5b0f7b4.tar.gz
Essentials-b672d38db8ae4961f88a674c490950c2e5b0f7b4.tar.lz
Essentials-b672d38db8ae4961f88a674c490950c2e5b0f7b4.tar.xz
Essentials-b672d38db8ae4961f88a674c490950c2e5b0f7b4.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