Fixed minor code issues

This commit is contained in:
HexelDev 2018-03-05 21:00:24 +01:00
parent c0e1b8082f
commit 844bd24221
3 changed files with 4 additions and 4 deletions

View File

@ -14,7 +14,7 @@ import java.util.concurrent.TimeUnit;
public class QuickCommandsProtectionManager implements SettingsDependent, HasCleanup {
private PermissionsManager permissionsManager;
private final PermissionsManager permissionsManager;
private final ExpiringSet<String> latestLogin;

View File

@ -71,7 +71,7 @@ public enum PlayerPermission implements PermissionNode {
VERIFICATION_CODE("authme.player.security.verificationcode"),
/**
* Permission to use the email verification codes feature.
* Permission that enables on join quick commands checks for the player.
*/
QUICK_COMMANDS_PROTECTION("authme.player.protection.quickcommandsprotection");

View File

@ -55,9 +55,9 @@ public final class ProtectionSettings implements SettingsHolder {
public static final Property<Integer> ANTIBOT_DELAY =
newProperty("Protection.antiBotDelay", 60);
@Comment("Kicks the player that issued a command before the defined time after the login process")
@Comment("Kicks the player that issued a command before the defined time after the join process")
public static final Property<Integer> QUICK_COMMANDS_DENIED_BEFORE_MILLISECONDS =
newProperty("Protection.quickCommands.denyCommandsBeforeSeconds", 1000);
newProperty("Protection.quickCommands.denyCommandsBeforeMilliseconds", 1000);
private ProtectionSettings() {
}