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