mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-30 14:13:47 +01:00
parent
1c42c34081
commit
86e079a4b1
@ -136,6 +136,11 @@ public class UpstreamBridge extends PacketHandler
|
|||||||
{
|
{
|
||||||
if ( con.getServer() != null )
|
if ( con.getServer() != null )
|
||||||
{
|
{
|
||||||
|
if ( con.getServer().getCh().isClosed() )
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Protocol serverEncode = con.getServer().getCh().getEncodeProtocol();
|
Protocol serverEncode = con.getServer().getCh().getEncodeProtocol();
|
||||||
// #3527: May still have old packets from client in game state when switching server to configuration state - discard those
|
// #3527: May still have old packets from client in game state when switching server to configuration state - discard those
|
||||||
if ( packet.protocol != serverEncode )
|
if ( packet.protocol != serverEncode )
|
||||||
|
Loading…
Reference in New Issue
Block a user