#3805: Remove redundant PluginMessage handler in InitialHandler

There is no state in wich we could decode a PluginMessage in InitialHandler, so we should remove it here.
This commit is contained in:
Outfluencer 2025-03-22 07:33:46 +01:00 committed by GitHub
parent 6f13c2d6b6
commit 4b0262312e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -194,12 +194,6 @@ public class InitialHandler extends PacketHandler implements PendingConnection
}
}
@Override
public void handle(PluginMessage pluginMessage) throws Exception
{
this.relayMessage( pluginMessage );
}
@Override
public void handle(LegacyHandshake legacyHandshake) throws Exception
{