Hotfix receiving level screen not closing on Velocity

Closes #3630
This commit is contained in:
Nassim Jahnke 2024-03-01 12:38:54 +01:00
parent dafce79374
commit 04e572fa30
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -85,6 +85,9 @@ public final class EntityPacketRewriter1_20_3 extends EntityRewriter<Clientbound
handler(wrapper -> sendChunksSentGameEvent(wrapper));
}
});
// https://github.com/ViaVersion/ViaVersion/issues/3630, should still investigate why sending it with respawn/login doesn't work on Velocity
protocol.registerClientbound(ClientboundPackets1_20_2.WORLD_BORDER_INIT, this::sendChunksSentGameEvent);
}
private void sendChunksSentGameEvent(final PacketWrapper wrapper) throws Exception {