mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 14:59:20 +00:00
Fix typos (#273)
* Fix typos * Fix another typo * Fix error log message (GeyserMC/Floodgate#275) Co-authored-by: Tim203 <mctim203@gmail.com>
This commit is contained in:
@@ -34,7 +34,7 @@ public interface InjectorAddon {
|
|||||||
* used for third party things.
|
* used for third party things.
|
||||||
*
|
*
|
||||||
* @param channel the channel that the injector is injecting
|
* @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);
|
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
|
* 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).
|
* 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) {
|
default void onChannelClosed(Channel channel) {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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()}
|
* if {@link InjectorAddon#shouldInject()}
|
||||||
*
|
*
|
||||||
* @param channel the channel that was injected
|
* @param channel the channel that was injected
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ public final class VelocityInjector extends CommonPlatformInjector {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean removeInjection() {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user