diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-09-29 03:59:31 +0100 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-09-30 17:15:40 +0100 |
commit | 480d3f36ad1f05428f193274f4069c5c790936e9 (patch) | |
tree | 49130a7bb531f0e12fbce0e38f0244de28ba709c | |
parent | 781ad922409234aed4970c71e7927922b6f44178 (diff) | |
download | Essentials-480d3f36ad1f05428f193274f4069c5c790936e9.tar Essentials-480d3f36ad1f05428f193274f4069c5c790936e9.tar.gz Essentials-480d3f36ad1f05428f193274f4069c5c790936e9.tar.lz Essentials-480d3f36ad1f05428f193274f4069c5c790936e9.tar.xz Essentials-480d3f36ad1f05428f193274f4069c5c790936e9.zip |
Should fix tpaccept charge bug - needs testing
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java | 1 |
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(); } } |