Fix PlayerConfigurationEvent only being called for initial configuration on 1.20.5+

This commit is contained in:
Gero
2024-07-14 16:29:30 +02:00
parent ebc418f6cc
commit d999ee2058

View File

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