13
0
geforkt von Mirrors/Velocity

Don't forward most packets while join is still in progress

Dieser Commit ist enthalten in:
Daniel Naylor 2018-09-06 19:38:50 +01:00
Ursprung 7a5857a0b2
Commit e86968e899

Datei anzeigen

@ -88,7 +88,7 @@ public class BackendPlaySessionHandler implements MinecraftSessionHandler {
if (status == MessageHandler.ForwardStatus.FORWARD) {
connection.getPlayer().getConnection().write(pm);
}
} else {
} else if (connection.hasCompletedJoin()) {
// Just forward the packet on. We don't have anything to handle at this time.
connection.getPlayer().getConnection().write(packet);
}