summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-02-16 16:57:50 +0000
committerKHobbits <rob@khobbits.co.uk>2012-02-16 16:57:50 +0000
commitb2dbb3f9e38bdcc05cdb87ce3da4ef10606b6402 (patch)
treec2288e521554f9f2bc1e9971782aee59f269d980
parent7633b136e3f221d4c3b2cc0ee19ffbed97c1423b (diff)
downloadEssentials-b2dbb3f9e38bdcc05cdb87ce3da4ef10606b6402.tar
Essentials-b2dbb3f9e38bdcc05cdb87ce3da4ef10606b6402.tar.gz
Essentials-b2dbb3f9e38bdcc05cdb87ce3da4ef10606b6402.tar.lz
Essentials-b2dbb3f9e38bdcc05cdb87ce3da4ef10606b6402.tar.xz
Essentials-b2dbb3f9e38bdcc05cdb87ce3da4ef10606b6402.zip
Fixing being charged twice for /back.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandback.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandback.java b/Essentials/src/com/earth2me/essentials/commands/Commandback.java
index 67698598a..2ad39ceea 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandback.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandback.java
@@ -20,5 +20,6 @@ public class Commandback extends EssentialsCommand
charge.isAffordableFor(user);
user.sendMessage(_("backUsageMsg"));
user.getTeleport().back(charge);
+ throw new NoChargeException();
}
}