mirror of
https://git.lewd.wtf/PGR/ascnet
synced 2025-12-13 12:14:35 +01:00
GameServer + packet types, we aren't parsing yet
This commit is contained in:
@@ -33,7 +33,7 @@ namespace AscNet.Common.Database
|
||||
public static Account Create(string username, string password)
|
||||
{
|
||||
if (collection.AsQueryable().FirstOrDefault(x => x.Username == username) is not null)
|
||||
throw new ArgumentException("Username is already registered!", "username");
|
||||
throw new ArgumentException("Username is already registered!", nameof(username));
|
||||
|
||||
Account account = new()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user