mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-15 11:04:29 +02:00
This change did not commit
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user