diff --git a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/VerifyResponseTask.java b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/VerifyResponseTask.java index edddc3b89..1a25e5cf4 100644 --- a/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/VerifyResponseTask.java +++ b/bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/VerifyResponseTask.java @@ -173,12 +173,12 @@ private void verifyResponse(BukkitLoginSession session) { "The incoming request for player {} uses a local IP address", requestedUsername ); - plugin.getLog().warn(ADDRESS_VERIFY_WARNING); } else { plugin.getLog().warn("If you think this is an error, please verify that the incoming " + "IP address {} is not associated with a server hosting company.", address); - plugin.getLog().warn(ADDRESS_VERIFY_WARNING); } + + plugin.getLog().warn(ADDRESS_VERIFY_WARNING); } } catch (IOException ioEx) { disconnect("error-kick", "Failed to connect to session server", ioEx); diff --git a/bungee/pom.xml b/bungee/pom.xml index 75a970485..3787c8cc6 100644 --- a/bungee/pom.xml +++ b/bungee/pom.xml @@ -126,7 +126,7 @@ net.md-5 bungeecord-proxy - 1.19-R0.1-SNAPSHOT + 1.20-R0.2-SNAPSHOT provided diff --git a/core/src/main/java/com/github/games647/fastlogin/core/hooks/PasswordGenerator.java b/core/src/main/java/com/github/games647/fastlogin/core/hooks/PasswordGenerator.java index 9947d5835..a66d6ffbf 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/hooks/PasswordGenerator.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/hooks/PasswordGenerator.java @@ -34,8 +34,8 @@ public interface PasswordGenerator

{ /** * Generate a password for a non-registered player - * @param player - * @return daw + * @param player player representation + * @return generated password */ String getRandomPassword(P player); } diff --git a/core/src/main/java/com/github/games647/fastlogin/core/shared/FloodgateState.java b/core/src/main/java/com/github/games647/fastlogin/core/shared/FloodgateState.java index 9e5df985a..f917f672b 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/shared/FloodgateState.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/shared/FloodgateState.java @@ -47,7 +47,7 @@ public enum FloodgateState { */ NOT_MIGRATED(3); - private int value; + private final int value; FloodgateState(int value) { this.value = value; diff --git a/core/src/main/java/com/github/games647/fastlogin/core/shared/event/FastLoginAutoLoginEvent.java b/core/src/main/java/com/github/games647/fastlogin/core/shared/event/FastLoginAutoLoginEvent.java index f066280c2..1a703fbd8 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/shared/event/FastLoginAutoLoginEvent.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/shared/event/FastLoginAutoLoginEvent.java @@ -30,7 +30,7 @@ /** * This event fires if the plugin performs an auto login on the platform where the login plugin is - * + *

* {@snippet : * @EventHandler() * public void onPlayerLogin(FastLoginAutoLoginEvent loginEvent) { diff --git a/pom.xml b/pom.xml index 706a88f44..cac23ec4e 100644 --- a/pom.xml +++ b/pom.xml @@ -52,8 +52,8 @@ 1.18.32 - development-2.2.2-SNAPSHOT - 2.1.0-SNAPSHOT + 2.2.3-SNAPSHOT + 2.2.1-SNAPSHOT