summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2011-10-04 10:27:58 +0100
committerKHobbits <rob@khobbits.co.uk>2011-10-04 10:27:58 +0100
commit4d5121c21d28aa528893f64b29cbf5438710d7d9 (patch)
tree739750e4b54ab54d75d4297a10cdd1e896e3c596
parent531f40ceee55d44528f35783d5572a5b5c5292e9 (diff)
downloadEssentials-4d5121c21d28aa528893f64b29cbf5438710d7d9.tar
Essentials-4d5121c21d28aa528893f64b29cbf5438710d7d9.tar.gz
Essentials-4d5121c21d28aa528893f64b29cbf5438710d7d9.tar.lz
Essentials-4d5121c21d28aa528893f64b29cbf5438710d7d9.tar.xz
Essentials-4d5121c21d28aa528893f64b29cbf5438710d7d9.zip
Revert "Less dupe code on last commit."
This reverts commit 531f40ceee55d44528f35783d5572a5b5c5292e9.
-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 b4dd819aa..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
{
- now(user.getLastLocation());
+ now(new Target(user.getLastLocation()));
}
public void home(IUser user, String home, Trade chargeFor) throws Exception