1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-31 04:36:47 +00:00

Removed some unused addon code

This commit is contained in:
Tim203
2021-06-23 00:52:21 +02:00
parent 821be02bdb
commit a1f0d2276d
12 changed files with 5 additions and 137 deletions

View File

@@ -38,15 +38,6 @@ public interface InjectorAddon {
*/
void onInject(Channel channel, boolean toServer);
/**
* Called when the player successfully logged in. That is the moment that most of the addons can
* deregister. Note that it is entirely optional to remove the addon from the channel, the
* injector won't force the addon to remove.
*
* @param channel the channel that the injector injected
*/
void onLoginDone(Channel channel);
/**
* Called when the channel has been closed. Note that this method will be called for every
* closed connection (if it is injected), so it'll also run this method for closed connections