Skip to content

Commit

Permalink
Fix bug where class names were not displayed in online list
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanmoffat committed Mar 21, 2022
1 parent 883eeb7 commit 8548495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EOLib/Net/Translators/OnlineListPacketTranslator.cs
Expand Up @@ -49,7 +49,7 @@ public IOnlineListData TranslatePacket(IPacket packet)
else
title = char.ToUpper(title[0]) + title.Substring(1);

var className = _classFileProvider.ECFFile.Length <= clsId
var className = _classFileProvider.ECFFile.Length >= clsId
? _classFileProvider.ECFFile[clsId].Name
: "-";

Expand Down

0 comments on commit 8548495

Please sign in to comment.