summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2012-04-12 23:57:19 +0300
committersnowleo <schneeleo@gmail.com>2012-04-12 23:57:19 +0300
commit9dfb582f66d6a3f7afe45b5b3ac8c51bbc7522c7 (patch)
treeb83fd3662e9f060f956165439c0ec039931b728c
parentd6c5492e12a721b40dc57688c4bdab576bf57769 (diff)
downloadEssentials-9dfb582f66d6a3f7afe45b5b3ac8c51bbc7522c7.tar
Essentials-9dfb582f66d6a3f7afe45b5b3ac8c51bbc7522c7.tar.gz
Essentials-9dfb582f66d6a3f7afe45b5b3ac8c51bbc7522c7.tar.lz
Essentials-9dfb582f66d6a3f7afe45b5b3ac8c51bbc7522c7.tar.xz
Essentials-9dfb582f66d6a3f7afe45b5b3ac8c51bbc7522c7.zip
Fix double charge in /jump
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandjump.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandjump.java b/Essentials/src/com/earth2me/essentials/commands/Commandjump.java
index 39ca305e3..ab73c6e01 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandjump.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandjump.java
@@ -37,5 +37,6 @@ public class Commandjump extends EssentialsCommand
final Trade charge = new Trade(this.getName(), ess);
charge.isAffordableFor(user);
user.getTeleport().teleport(loc, charge, TeleportCause.COMMAND);
+ throw new NoChargeException();
}
}