From 69cd17a1b181067fc45f1b223bdd323e8dc47079 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Sat, 29 Sep 2012 03:59:31 +0100 Subject: Should fix tpaccept charge bug - needs testing --- Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java b/Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java index 86f88f884..3f52e8e01 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java @@ -72,5 +72,6 @@ public class Commandtpaccept extends EssentialsCommand target.getTeleport().teleport(user, charge, TeleportCause.COMMAND); } user.requestTeleport(null, false); + throw new NoChargeException(); } } -- cgit v1.2.3