Reduced UserInfo artifact slots write to one line.

Contributed by nasseka.
This commit is contained in:
MobiusDevelopment
2022-07-08 08:53:38 +00:00
parent e7ba41993a
commit c188d5dd77
14 changed files with 14 additions and 28 deletions

View File

@@ -336,14 +336,13 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
{
packet.writeC(1); // Charm slots
packet.writeC(_player.getInventory().getAgathionSlots() - 1);
packet.writeC(_player.getInventory().getArtifactSlots()); // Artifact set slots // 152
}
else
{
packet.writeC(0); // Charm slots
packet.writeC(0);
packet.writeC(_player.getInventory().getArtifactSlots()); // Artifact set slots // 152
}
packet.writeC(_player.getInventory().getArtifactSlots()); // Artifact set slots // 152
}
if (containsMask(UserInfoType.MOVEMENTS))
{