@@ -139,6 +139,7 @@ public boolean isSynapseLogin() {
139139 return isSynapseLogin ;
140140 }
141141
142+ @ Override
142143 public boolean isFirstTimeLogin () {
143144 return isFirstTimeLogin ;
144145 }
@@ -582,7 +583,6 @@ protected DataPacket generateResourcePackInfoPacket() {
582583 }
583584
584585 @ Override
585- @ SuppressWarnings ("deprecation" )
586586 protected void completeLoginSequence () {
587587 if (!this .isSynapseLogin ) {
588588 super .completeLoginSequence ();
@@ -655,6 +655,7 @@ protected void completeLoginSequence() {
655655 this .sendCameraPresets ();
656656 } else {
657657 this .locallyInitialized = true ;
658+ sentSkins .add (getUniqueId ());
658659
659660 if (getProtocol () >= AbstractProtocol .PROTOCOL_119_50 .getProtocolStart ()) {
660661 PlayerActionPacket119 ackPacket = new PlayerActionPacket119 ();
@@ -1264,16 +1265,14 @@ protected boolean orderChunks() {
12641265 return super .orderChunks ();
12651266 }
12661267
1267- @ Override
1268+ /* @Override
12681269 public void spawnTo(Player player) {
1269- /* if (this.getSkin().isPersona() && player.isNetEaseClient() && player.getProtocol() > = AbstractProtocol.PROTOCOL_121_50.getProtocolStart()) {
1270+ if (this.getSkin().isPersona() && player.isNetEaseClient() && player.getProtocol() = = AbstractProtocol.PROTOCOL_121_50.getProtocolStart()) {
12701271 // 2026-02 中国版3.7BUG:如果是persona皮肤,则需要重发,否则会显示为史蒂夫
1271- String uid = this.getLoginChainData().getNetEaseUID();
1272- if (uid == null || uid.isEmpty()) uid = this.getLoginChainData().getXUID();
1273- this.server.updatePlayerListData(this.getUniqueId(), this.getId(), this.getDisplayName(), this.skin, uid, new Player[]{player});
1274- }*/
1272+ this.server.updatePlayerListData(this.getUniqueId(), this.getId(), this.getName(), this.skin, player);
1273+ }
12751274 super.spawnTo(player);
1276- }
1275+ }*/
12771276
12781277 protected boolean callPacketReceiveEvent (DataPacket packet ) {
12791278 DataPacketReceiveEvent ev = new DataPacketReceiveEvent (this , packet );
0 commit comments