summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-09-29 03:59:31 +0100
committerKHobbits <rob@khobbits.co.uk>2012-09-29 03:59:31 +0100
commit4bf0d3ab24ff7bd96a5da15e899ecc846ef5d9ea (patch)
tree7260192486d2dc82ce9eb2a1f7957007015b9568
parentafccda63503bcc53c4cd5846c2931de886450b73 (diff)
downloadEssentials-4bf0d3ab24ff7bd96a5da15e899ecc846ef5d9ea.tar
Essentials-4bf0d3ab24ff7bd96a5da15e899ecc846ef5d9ea.tar.gz
Essentials-4bf0d3ab24ff7bd96a5da15e899ecc846ef5d9ea.tar.lz
Essentials-4bf0d3ab24ff7bd96a5da15e899ecc846ef5d9ea.tar.xz
Essentials-4bf0d3ab24ff7bd96a5da15e899ecc846ef5d9ea.zip
Should fix tpaccept charge bug - needs testing
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java1
1 files changed, 1 insertions, 0 deletions
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();
}
}