NpcInfoType VISUAL_STATE is written as an integer.

Thanks to MacuK.
This commit is contained in:
MobiusDevelopment
2022-03-06 12:53:26 +00:00
parent 270aacc828
commit 69e141f5d6
6 changed files with 6 additions and 6 deletions

View File

@@ -357,7 +357,7 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
}
if (containsMask(NpcInfoType.VISUAL_STATE))
{
packet.writeC(_statusMask);
packet.writeD(_statusMask);
}
if (containsMask(NpcInfoType.ABNORMALS))
{

View File

@@ -431,7 +431,7 @@ public class NpcInfo extends AbstractMaskPacket<NpcInfoType>
}
if (containsMask(NpcInfoType.VISUAL_STATE))
{
packet.writeC(_statusMask);
packet.writeD(_statusMask);
}
if (containsMask(NpcInfoType.ABNORMALS))
{

View File

@@ -358,7 +358,7 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
}
if (containsMask(NpcInfoType.VISUAL_STATE))
{
packet.writeC(_statusMask);
packet.writeD(_statusMask);
}
if (containsMask(NpcInfoType.ABNORMALS))
{

View File

@@ -431,7 +431,7 @@ public class NpcInfo extends AbstractMaskPacket<NpcInfoType>
}
if (containsMask(NpcInfoType.VISUAL_STATE))
{
packet.writeC(_statusMask);
packet.writeD(_statusMask);
}
if (containsMask(NpcInfoType.ABNORMALS))
{

View File

@@ -358,7 +358,7 @@ public class SummonInfo extends AbstractMaskPacket<NpcInfoType>
}
if (containsMask(NpcInfoType.VISUAL_STATE))
{
packet.writeC(_statusMask);
packet.writeD(_statusMask);
}
if (containsMask(NpcInfoType.ABNORMALS))
{

View File

@@ -358,7 +358,7 @@ public class ExPetInfo extends AbstractMaskPacket<NpcInfoType>
}
if (containsMask(NpcInfoType.VISUAL_STATE))
{
packet.writeC(_statusMask);
packet.writeD(_statusMask);
}
if (containsMask(NpcInfoType.ABNORMALS))
{