diff --git a/api/src/main/java/org/geysermc/floodgate/api/inject/InjectorAddon.java b/api/src/main/java/org/geysermc/floodgate/api/inject/InjectorAddon.java index d550cbcb..ee991b78 100644 --- a/api/src/main/java/org/geysermc/floodgate/api/inject/InjectorAddon.java +++ b/api/src/main/java/org/geysermc/floodgate/api/inject/InjectorAddon.java @@ -34,7 +34,7 @@ public interface InjectorAddon { * used for third party things. * * @param channel the channel that the injector is injecting - * @param toServer if the the connection is between a proxy and a server + * @param toServer if the connection is between a proxy and a server */ void onInject(Channel channel, boolean toServer); @@ -43,7 +43,7 @@ public interface InjectorAddon { * closed connection (if it is injected), so it'll also run this method for closed connections * between a server and the proxy (when Floodgate is running on a proxy). * - * @param channel the channel that the injecor injected + * @param channel the channel that the injector injected */ default void onChannelClosed(Channel channel) { } diff --git a/core/src/main/java/org/geysermc/floodgate/inject/CommonPlatformInjector.java b/core/src/main/java/org/geysermc/floodgate/inject/CommonPlatformInjector.java index 48449372..9025ca0d 100644 --- a/core/src/main/java/org/geysermc/floodgate/inject/CommonPlatformInjector.java +++ b/core/src/main/java/org/geysermc/floodgate/inject/CommonPlatformInjector.java @@ -77,7 +77,7 @@ public abstract class CommonPlatformInjector implements PlatformInjector { } /** - * Method to loop throguh all the addons and call {@link InjectorAddon#onChannelClosed(Channel)} + * Method to loop through all the addons and call {@link InjectorAddon#onChannelClosed(Channel)} * if {@link InjectorAddon#shouldInject()} * * @param channel the channel that was injected diff --git a/velocity/src/main/java/org/geysermc/floodgate/inject/velocity/VelocityInjector.java b/velocity/src/main/java/org/geysermc/floodgate/inject/velocity/VelocityInjector.java index a37768bb..1a4d43b1 100644 --- a/velocity/src/main/java/org/geysermc/floodgate/inject/velocity/VelocityInjector.java +++ b/velocity/src/main/java/org/geysermc/floodgate/inject/velocity/VelocityInjector.java @@ -82,7 +82,7 @@ public final class VelocityInjector extends CommonPlatformInjector { @Override public boolean removeInjection() { - logger.error("Floodgate cannot remove itself from Bungee without a reboot"); + logger.error("Floodgate cannot remove itself from Velocity without a reboot"); return false; }