Redundant tpaccept cost check.

This commit is contained in:
KHobbits 2012-12-20 19:50:59 +00:00
parent a6c13974c4
commit b2d68fe213

View File

@ -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()));