mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-13 07:24:52 +01:00
fix command character adding
This commit is contained in:
@@ -129,7 +129,7 @@ namespace EpinelPS.Database
|
||||
public string Nickname = "SomePlayer";
|
||||
public int ProfileIconId = 39900;
|
||||
public bool ProfileIconIsPrism = false;
|
||||
public int ProfileFrame = 1;
|
||||
public int ProfileFrame = 25;
|
||||
public bool IsAdmin = false;
|
||||
public bool sickpulls = false;
|
||||
public bool IsBanned = false;
|
||||
|
||||
@@ -275,12 +275,10 @@ namespace EpinelPS
|
||||
{
|
||||
if (!user.HasCharacter(c))
|
||||
{
|
||||
// Generate a unique character ID
|
||||
int id = user.GenerateUniqueCharacterId();
|
||||
user.Characters.Add(new Database.Character()
|
||||
{
|
||||
CostumeId = 0,
|
||||
Csn = id,
|
||||
Csn = c,
|
||||
Grade = 0,
|
||||
Level = 1,
|
||||
Skill1Lvl = 1,
|
||||
|
||||
Reference in New Issue
Block a user