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 | 2d319fe5aae3f231d6d8cda5ae074238697c1ce7 (patch) | |
tree | 5781262adcaa90d72495064309a3f28c7a21fd18 | |
parent | bbd2c53dd813c8acc10dd9d2a56d93f3b227c10f (diff) | |
download | Essentials-2d319fe5aae3f231d6d8cda5ae074238697c1ce7.tar Essentials-2d319fe5aae3f231d6d8cda5ae074238697c1ce7.tar.gz Essentials-2d319fe5aae3f231d6d8cda5ae074238697c1ce7.tar.lz Essentials-2d319fe5aae3f231d6d8cda5ae074238697c1ce7.tar.xz Essentials-2d319fe5aae3f231d6d8cda5ae074238697c1ce7.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(); } } |