mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-11 23:07:37 +00:00
Fixed NBT issue with player overlays.
This commit is contained in:
1 parent
b6c62332ed
commit
82938fe5cd
4 files changed
+7
-12
No files matched your search
@@ -274,7 +274,9 @@ public class PacketHandlerClient extends PacketHandlerServer{
|
||||
Minecraft.getMinecraft().thePlayer.swingItem();
|
||||
}
|
||||
else if(type == EnumPacketClient.PLAYER_UPDATE_SKIN_OVERLAYS) {
|
||||
NoppesUtil.updateSkinOverlayData(player, Server.readNBT(buffer));
|
||||
EntityPlayer sendingPlayer = (EntityPlayer) Minecraft.getMinecraft().theWorld.getEntityByID(buffer.readInt());
|
||||
NBTTagCompound compound = Server.readNBT(buffer);
|
||||
NoppesUtil.updateSkinOverlayData(sendingPlayer, compound);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user