Removed redundant CharSelectionInfo base class check.
This commit is contained in:
@@ -127,15 +127,7 @@ public class CharSelectionInfo implements IClientOutgoingPacket
|
||||
|
||||
packet.writeD(charInfoPackage.getSex()); // Sex
|
||||
packet.writeD(charInfoPackage.getRace()); // Race
|
||||
|
||||
if (charInfoPackage.getClassId() == charInfoPackage.getBaseClassId())
|
||||
{
|
||||
packet.writeD(charInfoPackage.getClassId());
|
||||
}
|
||||
else
|
||||
{
|
||||
packet.writeD(charInfoPackage.getBaseClassId());
|
||||
}
|
||||
packet.writeD(charInfoPackage.getBaseClassId());
|
||||
|
||||
packet.writeD(0x01); // GameServerName
|
||||
|
||||
|
Reference in New Issue
Block a user