mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Fixed wrong state numbers due to removing the "Deleted" state.
This commit is contained in:
@@ -257,7 +257,7 @@ namespace FFXIVClassic_Lobby_Server
|
||||
try
|
||||
{
|
||||
conn.Open();
|
||||
charaList = conn.Query<Character>("SELECT * FROM characters WHERE userId=@UserId AND state in (2,3) ORDER BY slot", new { UserId = userId }).ToList();
|
||||
charaList = conn.Query<Character>("SELECT * FROM characters WHERE userId=@UserId AND state in (1,2) ORDER BY slot", new { UserId = userId }).ToList();
|
||||
}
|
||||
catch (MySqlException e)
|
||||
{ charaList = new List<Character>(); }
|
||||
|
@@ -62,7 +62,7 @@ namespace FFXIVClassic_Lobby_Server.packets
|
||||
binWriter.Write((byte)(totalCount)); //Slot
|
||||
|
||||
byte options = 0;
|
||||
if (chara.state == 2)
|
||||
if (chara.state == 1)
|
||||
options |= 0x01;
|
||||
if (chara.doRename)
|
||||
options |= 0x02;
|
||||
|
Reference in New Issue
Block a user