From b041a892095937c6f62b8cda47af29dbddd1b919 Mon Sep 17 00:00:00 2001 From: games647 Date: Thu, 23 Jun 2022 12:32:22 +0200 Subject: [PATCH] Typo fixes --- CHANGELOG.md | 8 ++++---- bukkit/src/test/resources/client_keys/README.md | 2 +- .../core/antibot/ProxyAgnosticMojangResolver.java | 2 +- .../games647/fastlogin/core/shared/PlatformPlugin.java | 2 +- .../games647/fastlogin/velocity/task/ForceLoginTask.java | 3 +-- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1ac62cd..af685534 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,7 +35,7 @@ * Automatically register accounts if they are not in the auth plugin database but in the FastLogin database * Update BungeeAuth dependency and use the new API. Please update your plugin if you still use the old one. * Remove deprecated API methods from the last version -* Finally update the IP column on every login +* Finally, update the IP column on every login * No duplicate session login * Fix timestamp parsing in newer versions of SQLite * Fix Spigot console command invocation sends result to in game players @@ -82,7 +82,7 @@ * Fix player entry is not saved if namechangecheck is enabled * Fix skin applies for third-party plugins * Switch to mcapi.ca for uuid lookups -* Fix BungeeCord not setting an premium uuid +* Fix BungeeCord not setting a premium uuid * Fix setting skin on Cauldron * Fix saving on name change @@ -148,7 +148,7 @@ ### 1.2 * Fix race condition in BungeeCord -* Fix dead lock in xAuth +* Fix deadlock in xAuth * Added API methods for plugins to set their own password generator * Added API methods for plugins to set their own auth plugin hook => Added support for AdvancedLogin @@ -182,7 +182,7 @@ * Added a forwardSkin config option * Added premium UUID support * Updated to the newest changes of Spigot -* Removes the need of an Bukkit auth plugin if you use a bungeecord one +* Removes the need of a Bukkit auth plugin if you use a bungeecord one * Optimize performance and thread-safety * Fixed BungeeCord support * Changed config option auto-login to auto-register to clarify the usage diff --git a/bukkit/src/test/resources/client_keys/README.md b/bukkit/src/test/resources/client_keys/README.md index 1165e23d..dd119ad5 100644 --- a/bukkit/src/test/resources/client_keys/README.md +++ b/bukkit/src/test/resources/client_keys/README.md @@ -1,6 +1,6 @@ # About -This contains test resources for the unit tests. The file are extracted from the Minecraft directory with slight +This contains test resources for the unit tests. The files are extracted from the Minecraft directory with slight modifications. The files are found in `$MINECRAFT_HOME$/profilekeys/`, where `$MINECRAFT_HOME$` represents the OS-dependent minecraft folder. diff --git a/core/src/main/java/com/github/games647/fastlogin/core/antibot/ProxyAgnosticMojangResolver.java b/core/src/main/java/com/github/games647/fastlogin/core/antibot/ProxyAgnosticMojangResolver.java index aabba993..ce10bb20 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/antibot/ProxyAgnosticMojangResolver.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/antibot/ProxyAgnosticMojangResolver.java @@ -43,7 +43,7 @@ import java.util.Optional; */ public class ProxyAgnosticMojangResolver extends MojangResolver { /** - * A formatting string containing an URL used to call the {@code hasJoined} method on mojang session servers. + * A formatting string containing a URL used to call the {@code hasJoined} method on mojang session servers. * * Formatting parameters: * 1. The username of the player in question diff --git a/core/src/main/java/com/github/games647/fastlogin/core/shared/PlatformPlugin.java b/core/src/main/java/com/github/games647/fastlogin/core/shared/PlatformPlugin.java index 4c436ed6..fc86c8ce 100644 --- a/core/src/main/java/com/github/games647/fastlogin/core/shared/PlatformPlugin.java +++ b/core/src/main/java/com/github/games647/fastlogin/core/shared/PlatformPlugin.java @@ -59,7 +59,7 @@ public interface PlatformPlugin { default ThreadFactory getThreadFactory() { return new ThreadFactoryBuilder() .setNameFormat(getName() + " Pool Thread #%1$d") - // Hikari create daemons by default. We could daemon threads for our own scheduler too + // Hikari create daemons by default. We could use daemon threads for our own scheduler too // because we safely shut down .setDaemon(true) .build(); diff --git a/velocity/src/main/java/com/github/games647/fastlogin/velocity/task/ForceLoginTask.java b/velocity/src/main/java/com/github/games647/fastlogin/velocity/task/ForceLoginTask.java index df5c4338..849f53d4 100644 --- a/velocity/src/main/java/com/github/games647/fastlogin/velocity/task/ForceLoginTask.java +++ b/velocity/src/main/java/com/github/games647/fastlogin/velocity/task/ForceLoginTask.java @@ -48,8 +48,7 @@ public class ForceLoginTask private final RegisteredServer server; - //treat player as if they had a premium account, even when they don't - //used to do auto login for Floodgate aut + //treat player as if they had a premium account, even when they don't used to do auto login for Floodgate private final boolean forcedOnlineMode; public ForceLoginTask(FastLoginCore core,