Basically I need to get PacketPlayOutPlayerInfo.PlayerInfoData working for some NPCs, but whenever I try to use it, I keep getting 'Cannot resolve symbol: PlayerInfoData" no matter what I try. I did a bit of googling as well, but I can't seem to find a resolution either.
Here's a snippet of how I am trying to handle it:
Here's a snippet of how I am trying to handle it:
Code:
PacketPlayOutPlayerInfo packet = new PacketPlayOutPlayerInfo();
PacketPlayOutPlayerInfo.PlayerInfoData data = packet.new PlayerInfoData(...)
