Fix 1.19.3 player info add

This commit is contained in:
Nassim Jahnke 2022-12-11 14:27:41 +01:00
parent 7cbfffaa68
commit 7c2845b884
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
2 changed files with 2 additions and 1 deletions

View File

@ -104,6 +104,7 @@ public class SoundRewriter extends com.viaversion.viaversion.rewriter.SoundRewri
}
wrapper.write(Type.VAR_INT, mappedId + 1);
return;
}
// Is followed by the resource loation

View File

@ -154,8 +154,8 @@ public final class EntityPackets1_19_3 extends EntityRewriter<Protocol1_19_1To1_
playerInfoPacket.write(Type.VAR_INT, latency);
playerInfoPacket.write(Type.OPTIONAL_COMPONENT, displayName);
playerInfoPacket.write(Type.OPTIONAL_PROFILE_KEY, profileKey);
playerInfoPacket.send(Protocol1_19_1To1_19_3.class);
}
playerInfoPacket.send(Protocol1_19_1To1_19_3.class);
return;
}