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 20:23:51 +0000
commit371a6437aecf7fea59a3ba19060bb8454aa59f41 (patch)
treec20268535404a052022183b2c88c90d62d571769
parentfb0cd8fbf0d406dec7e850ff95939402f8d093d8 (diff)
downloadEssentials-371a6437aecf7fea59a3ba19060bb8454aa59f41.tar
Essentials-371a6437aecf7fea59a3ba19060bb8454aa59f41.tar.gz
Essentials-371a6437aecf7fea59a3ba19060bb8454aa59f41.tar.lz
Essentials-371a6437aecf7fea59a3ba19060bb8454aa59f41.tar.xz
Essentials-371a6437aecf7fea59a3ba19060bb8454aa59f41.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()));