mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Redundant tpaccept cost check.
This commit is contained in:
parent
fb0cd8fbf0
commit
371a6437ae
1 changed files with 0 additions and 8 deletions
|
@ -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()));
|
||||
|
||||
|
|
Loading…
Reference in a new issue