3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-27 08:30:18 +01:00

Fix PlayerConfigurationEvent only being called for initial configuration on 1.20.5+

Dieser Commit ist enthalten in:
Gero 2024-07-14 16:29:30 +02:00
Ursprung ebc418f6cc
Commit d999ee2058

Datei anzeigen

@ -79,6 +79,11 @@ public class ClientConfigSessionHandler implements MinecraftSessionHandler {
configSwitchFuture = new CompletableFuture<>(); configSwitchFuture = new CompletableFuture<>();
} }
@Override
public void deactivated() {
configurationFuture = null;
}
@Override @Override
public boolean handle(final KeepAlivePacket packet) { public boolean handle(final KeepAlivePacket packet) {
player.forwardKeepAlive(packet); player.forwardKeepAlive(packet);