Improved nickname validation code clarity
Improved accuracy of 2 responses: `client/game/profile/nickname/validate` `client/game/profile/nickname/change`
This commit is contained in:
@@ -68,7 +68,7 @@ public class CodeGenerator
|
||||
{
|
||||
if (code.GetLabel() == null)
|
||||
{
|
||||
return new List<Label>();
|
||||
return [];
|
||||
}
|
||||
|
||||
return [ (Label)code.GetLabel() ];
|
||||
|
||||
Reference in New Issue
Block a user