And the serverbound one

This commit is contained in:
Nassim Jahnke 2023-11-20 19:07:23 +01:00
parent 8769742917
commit 1af2103f6c
No known key found for this signature in database
GPG Key ID: EF6771C01F6EF02F

View File

@ -317,6 +317,8 @@ public final class Protocol1_20_3To1_20_2 extends AbstractProtocol<ClientboundPa
}
});
registerServerbound(ServerboundPackets1_20_3.RESOURCE_PACK_STATUS, wrapper -> wrapper.read(Type.UUID));
registerServerbound(State.CONFIGURATION, ServerboundConfigurationPackets1_20_2.RESOURCE_PACK, wrapper -> wrapper.read(Type.UUID));
registerClientbound(State.CONFIGURATION, ClientboundConfigurationPackets1_20_2.RESOURCE_PACK.getId(), ClientboundConfigurationPackets1_20_3.RESOURCE_PACK_PUSH.getId(), resourcePackHandler());
// TODO Auto map via packet types provider