Put combat kill through component rewriter

This commit is contained in:
Nassim Jahnke 2024-04-24 10:15:53 +02:00
parent c5e6fa7d0c
commit 9654a613cd
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ public final class Protocol1_20_5To1_20_3 extends AbstractProtocol<ClientboundPa
componentRewriter.registerComponentPacket(ClientboundPackets1_20_3.SYSTEM_CHAT);
componentRewriter.registerComponentPacket(ClientboundPackets1_20_3.DISGUISED_CHAT);
componentRewriter.registerCombatKill1_20(ClientboundPackets1_20_3.COMBAT_KILL);
registerClientbound(State.LOGIN, ClientboundLoginPackets.HELLO, wrapper -> {
wrapper.passthrough(Type.STRING); // Server ID