summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/Teleport.java
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-05-22 00:41:03 +0100
committerKHobbits <rob@khobbits.co.uk>2012-05-22 00:41:03 +0100
commit3ef591d74ffc00ed7a7d41892f64028b88782e79 (patch)
tree90602532baaaa61f73c1efce86848f1d403a369c /Essentials/src/com/earth2me/essentials/Teleport.java
parent556665d61422b7d4b3ef8da2ec69ecaa5b075118 (diff)
downloadEssentials-3ef591d74ffc00ed7a7d41892f64028b88782e79.tar
Essentials-3ef591d74ffc00ed7a7d41892f64028b88782e79.tar.gz
Essentials-3ef591d74ffc00ed7a7d41892f64028b88782e79.tar.lz
Essentials-3ef591d74ffc00ed7a7d41892f64028b88782e79.tar.xz
Essentials-3ef591d74ffc00ed7a7d41892f64028b88782e79.zip
Code tidy.
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/Teleport.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/Teleport.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Teleport.java b/Essentials/src/com/earth2me/essentials/Teleport.java
index 9d05f9368..6569a1689 100644
--- a/Essentials/src/com/earth2me/essentials/Teleport.java
+++ b/Essentials/src/com/earth2me/essentials/Teleport.java
@@ -2,7 +2,6 @@ package com.earth2me.essentials;
import com.earth2me.essentials.api.ITeleport;
import static com.earth2me.essentials.I18n._;
-import com.earth2me.essentials.commands.NotEnoughArgumentsException;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.logging.Logger;
@@ -190,7 +189,7 @@ public class Teleport implements Runnable, ITeleport
{
cancel(false);
}
-
+
public void teleport(Location loc, Trade chargeFor) throws Exception
{
teleport(new Target(loc), chargeFor, TeleportCause.PLUGIN);
@@ -277,7 +276,7 @@ public class Teleport implements Runnable, ITeleport
{
now(new Target(user.getLastLocation()), TeleportCause.COMMAND);
}
-
+
public void home(Location loc, Trade chargeFor) throws Exception
{
teleport(new Target(loc), chargeFor, TeleportCause.COMMAND);