mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 09:34:46 +00:00
-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:
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);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user