mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-27 19:47:42 +01:00
This change did not commit
This commit is contained in:
parent
1696d7ae71
commit
a0554f566d
@ -21,9 +21,10 @@ public class Commandtempban extends EssentialsCommand
|
|||||||
throw new NotEnoughArgumentsException();
|
throw new NotEnoughArgumentsException();
|
||||||
}
|
}
|
||||||
final User player = getPlayer(server, args, 0, true);
|
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"));
|
sender.sendMessage(Util.i18n("tempbanExempt"));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
final String time = getFinalArg(args, 1);
|
final String time = getFinalArg(args, 1);
|
||||||
final long banTimestamp = Util.parseDateDiff(time, true);
|
final long banTimestamp = Util.parseDateDiff(time, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user