From 371a6437aecf7fea59a3ba19060bb8454aa59f41 Mon Sep 17 00:00:00 2001 From: KHobbits Date: Thu, 20 Dec 2012 19:50:59 +0000 Subject: Redundant tpaccept cost check. --- .../src/com/earth2me/essentials/commands/Commandtpaccept.java | 8 -------- 1 file changed, 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())); -- cgit v1.2.3