Fixed NBT issue with player overlays.

This commit is contained in:
Luis C.M committed 2022-05-24 00:11:34 -05:00
1 parent b6c62332ed
commit 82938fe5cd
4 files changed
+7 -12

No files matched your search

@@ -148,7 +148,7 @@ public class PacketHandlerServer{
public void updateSkinOverlays(EntityPlayerMP player) {
NBTTagCompound data = new NBTTagCompound();
data.setTag("SkinOverlayData",player.getEntityData().getTagList("SkinOverlayData",10));
Server.sendData(player, EnumPacketClient.PLAYER_UPDATE_SKIN_OVERLAYS, data);
Server.sendToAll(EnumPacketClient.PLAYER_UPDATE_SKIN_OVERLAYS, player.getEntityId(), data);
}
private void getScriptsEnabled(EnumPacketServer type, ByteBuf buffer, EntityPlayerMP player) throws IOException {