mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-02 18:46:13 +00:00
This change did not commit
This commit is contained in:
parent
1696d7ae71
commit
a0554f566d
1 changed files with 2 additions and 1 deletions
|
@ -21,9 +21,10 @@ public class Commandtempban extends EssentialsCommand
|
|||
throw new NotEnoughArgumentsException();
|
||||
}
|
||||
final User player = getPlayer(server, args, 0, true);
|
||||
if(player.isAuthorized("essentials.tempban.exempt"))
|
||||
if (player.isAuthorized("essentials.tempban.exempt"))
|
||||
{
|
||||
sender.sendMessage(Util.i18n("tempbanExempt"));
|
||||
return;
|
||||
}
|
||||
final String time = getFinalArg(args, 1);
|
||||
final long banTimestamp = Util.parseDateDiff(time, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue