Fix PlayerConfigurationEvent only being called for initial configuration on 1.20.5+
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user