mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 16:37:45 +00:00
Six Overlays in Singleplayer
This commit is contained in:
1 parent
2dd34b21e6
commit
b013f412b2
1 file changed
+8
@@ -184,6 +184,14 @@ public class SyncController {
|
||||
DBCAddon.instance.syncPlayer(player);
|
||||
syncPlayerData(player, false);
|
||||
PartyInfoPacket.sendPartyData(player);
|
||||
|
||||
// Sync skin overlays after full handshake to ensure the client is ready.
|
||||
// Overlays are not part of getSyncNBTFull(), and packets sent during
|
||||
// PlayerLoggedInEvent can arrive before the client entity exists.
|
||||
PlayerData data = PlayerData.get(player);
|
||||
if (data != null) {
|
||||
data.skinOverlays.updateClient();
|
||||
}
|
||||
}
|
||||
|
||||
private static EnumMap<EnumSyncType, Integer> getServerRevisionSnapshot() {
|
||||
|
||||
Reference in new issue
Block a user