mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-21 12:07:38 +01:00
Fix PLAYER_INFO_UPDATE display name data type (#5)
This commit is contained in:
parent
2ce11704ba
commit
a0f2a8595e
@ -364,7 +364,7 @@ public final class EntityPacketRewriter1_21_2 extends EntityRewriter<Clientbound
|
|||||||
wrapper.passthrough(Types.VAR_INT); // Latency
|
wrapper.passthrough(Types.VAR_INT); // Latency
|
||||||
}
|
}
|
||||||
if (actions.get(5)) {
|
if (actions.get(5)) {
|
||||||
final Tag displayName = wrapper.passthrough(Types.TAG);
|
final Tag displayName = wrapper.passthrough(Types.OPTIONAL_TAG);
|
||||||
protocol.getComponentRewriter().processTag(wrapper.user(), displayName);
|
protocol.getComponentRewriter().processTag(wrapper.user(), displayName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user