diff options
author | snowleo <schneeleo@gmail.com> | 2012-04-12 23:57:19 +0300 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-04-12 23:57:19 +0300 |
commit | 9dfb582f66d6a3f7afe45b5b3ac8c51bbc7522c7 (patch) | |
tree | b83fd3662e9f060f956165439c0ec039931b728c | |
parent | d6c5492e12a721b40dc57688c4bdab576bf57769 (diff) | |
download | Essentials-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.java | 1 |
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(); } } |