From b2dbb3f9e38bdcc05cdb87ce3da4ef10606b6402 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Thu, 16 Feb 2012 16:57:50 +0000 Subject: [PATCH] Fixing being charged twice for /back. --- Essentials/src/com/earth2me/essentials/commands/Commandback.java | 1 + 1 file changed, 1 insertion(+) 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(); } }