Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Ursprung
d98c458a4c
Commit
23ba848a69
@ -265,7 +265,12 @@ public final class Protocol1_20_3To1_20_2 extends AbstractProtocol<ClientboundPa
|
|||||||
registerClientbound(ClientboundPackets1_20_2.ACTIONBAR, this::convertComponent);
|
registerClientbound(ClientboundPackets1_20_2.ACTIONBAR, this::convertComponent);
|
||||||
registerClientbound(ClientboundPackets1_20_2.TITLE_TEXT, this::convertComponent);
|
registerClientbound(ClientboundPackets1_20_2.TITLE_TEXT, this::convertComponent);
|
||||||
registerClientbound(ClientboundPackets1_20_2.TITLE_SUBTITLE, this::convertComponent);
|
registerClientbound(ClientboundPackets1_20_2.TITLE_SUBTITLE, this::convertComponent);
|
||||||
registerClientbound(ClientboundPackets1_20_2.DISGUISED_CHAT, this::convertComponent);
|
registerClientbound(ClientboundPackets1_20_2.DISGUISED_CHAT, wrapper -> {
|
||||||
|
convertComponent(wrapper);
|
||||||
|
wrapper.passthrough(Type.VAR_INT); // Chat type
|
||||||
|
convertComponent(wrapper); // Name
|
||||||
|
convertOptionalComponent(wrapper); // Target name
|
||||||
|
});
|
||||||
registerClientbound(ClientboundPackets1_20_2.SYSTEM_CHAT, this::convertComponent);
|
registerClientbound(ClientboundPackets1_20_2.SYSTEM_CHAT, this::convertComponent);
|
||||||
registerClientbound(ClientboundPackets1_20_2.OPEN_WINDOW, wrapper -> {
|
registerClientbound(ClientboundPackets1_20_2.OPEN_WINDOW, wrapper -> {
|
||||||
wrapper.passthrough(Type.VAR_INT); // Container id
|
wrapper.passthrough(Type.VAR_INT); // Container id
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren