summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-12-20 19:50:59 +0000
committerKHobbits <rob@khobbits.co.uk>2012-12-20 19:50:59 +0000
commitb2d68fe2134c6b6348aaea8b1856df9930d151c9 (patch)
treefde66e17a50f29ed2c3bb7abadb6a9f1b7171c9c
parenta6c13974c40c114b64781b30b5971da89e5b11d7 (diff)
downloadEssentials-b2d68fe2134c6b6348aaea8b1856df9930d151c9.tar
Essentials-b2d68fe2134c6b6348aaea8b1856df9930d151c9.tar.gz
Essentials-b2d68fe2134c6b6348aaea8b1856df9930d151c9.tar.lz
Essentials-b2d68fe2134c6b6348aaea8b1856df9930d151c9.tar.xz
Essentials-b2d68fe2134c6b6348aaea8b1856df9930d151c9.zip
Redundant tpaccept cost check.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java b/Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java
index 865492921..f15935053 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandtpaccept.java
@@ -52,14 +52,6 @@ public class Commandtpaccept extends EssentialsCommand
}
final Trade charge = new Trade(this.getName(), ess);
- if (user.isTpRequestHere())
- {
- charge.isAffordableFor(user);
- }
- else
- {
- charge.isAffordableFor(target);
- }
user.sendMessage(_("requestAccepted"));
target.sendMessage(_("requestAcceptedFrom", user.getDisplayName()));