Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2025-01-12 07:56:15 +01:00
Fix scoreboard objective reading
Dieser Commit ist enthalten in:
Ursprung
3b9354c4f6
Commit
c13c3f17fc
@ -64,7 +64,7 @@ public final class Protocol1_20To1_20_2 extends BackwardsProtocol<ClientboundPac
|
|||||||
soundRewriter.registerSound(ClientboundPackets1_20_2.ENTITY_SOUND);
|
soundRewriter.registerSound(ClientboundPackets1_20_2.ENTITY_SOUND);
|
||||||
soundRewriter.registerStopSound(ClientboundPackets1_20_2.STOP_SOUND);
|
soundRewriter.registerStopSound(ClientboundPackets1_20_2.STOP_SOUND);
|
||||||
|
|
||||||
registerClientbound(ClientboundPackets1_20_2.SCOREBOARD_OBJECTIVE, wrapper -> {
|
registerClientbound(ClientboundPackets1_20_2.DISPLAY_SCOREBOARD, wrapper -> {
|
||||||
final int slot = wrapper.read(Type.VAR_INT);
|
final int slot = wrapper.read(Type.VAR_INT);
|
||||||
wrapper.write(Type.BYTE, (byte) slot);
|
wrapper.write(Type.BYTE, (byte) slot);
|
||||||
});
|
});
|
||||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren