Replaced hex values at ExMentorList with simple integers.

This commit is contained in:
MobiusDevelopment
2023-01-13 04:02:00 +00:00
parent 08c99f885a
commit 3d32489fba
26 changed files with 85 additions and 85 deletions

View File

@ -39,12 +39,12 @@ public class ExMentorList extends ServerPacket
{
if (player.isMentor())
{
_type = 0x01;
_type = 1;
_mentees = MentorManager.getInstance().getMentees(player.getObjectId());
}
else if (player.isMentee())
{
_type = 0x02;
_type = 2;
_mentees = Arrays.asList(MentorManager.getInstance().getMentor(player.getObjectId()));
}
else if (player.isInCategory(CategoryType.SIXTH_CLASS_GROUP)) // Not a mentor, Not a mentee, so can be a mentor
@ -55,7 +55,7 @@ public class ExMentorList extends ServerPacket
else
{
_mentees = Collections.emptyList();
_type = 0x00;
_type = 0;
}
}