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