-Overlays for players and NPCs are now grouped in an "overlay handler" object, similar to how you retrieve timers.

-Fixed client NPC overlay updates.
This commit is contained in:
Luis C.M committed 2022-05-23 20:41:32 -05:00
1 parent 6fa5d0d8de
commit 6220a8ce14
20 files changed
+203 -164

No files matched your search

@@ -434,14 +434,14 @@ public class ScriptPlayerEventHandler {
EventHooks.onPlayerLogin(handler, scriptPlayer);
//Loads other players' and own player's skin overlays if they have them
/*
List<EntityPlayerMP> list = MinecraftServer.getServer().getConfigurationManager().playerEntityList;
for (EntityPlayerMP playerMP : list) {
if (playerMP.getEntityData().hasKey("SkinOverlayData")) {
NBTTagCompound data = new NBTTagCompound();
data.setTag("SkinOverlayData",playerMP.getEntityData().getTagList("SkinOverlayData",10));
Server.sendData(playerMP, EnumPacketClient.PLAYER_UPDATE_SKIN_OVERLAYS, data);
}
}
}*/
}
}