1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 12:01:20 +02:00

Redundant tpaccept cost check

b2d68fe213
This commit is contained in:
Chris Ward
2013-01-09 00:24:26 +11:00
parent 740c5dc712
commit a8ecedab08

View File

@@ -41,14 +41,6 @@ public class Commandtpaccept extends EssentialsCommand
}
final Trade charge = new Trade(commandName, ess);
if (user.isTpRequestHere())
{
charge.isAffordableFor(user);
}
else
{
charge.isAffordableFor(target);
}
user.sendMessage(_("requestAccepted"));
target.sendMessage(_("requestAcceptedFrom", user.getPlayer().getDisplayName()));