mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
Fixed NBT issue with player overlays.
This commit is contained in:
1 parent
82938fe5cd
commit
532180f00f
2 files changed
+2
-4
No files matched your search
@@ -146,9 +146,7 @@ public class PacketHandlerServer{
|
||||
}
|
||||
|
||||
public void updateSkinOverlays(EntityPlayerMP player) {
|
||||
NBTTagCompound data = new NBTTagCompound();
|
||||
data.setTag("SkinOverlayData",player.getEntityData().getTagList("SkinOverlayData",10));
|
||||
Server.sendToAll(EnumPacketClient.PLAYER_UPDATE_SKIN_OVERLAYS, player.getEntityId(), data);
|
||||
PlayerDataController.instance.getPlayerData(player).skinOverlays.updateClient();
|
||||
}
|
||||
|
||||
private void getScriptsEnabled(EnumPacketServer type, ByteBuf buffer, EntityPlayerMP player) throws IOException {
|
||||
|
||||
Reference in new issue
Block a user