1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-24 05:37:46 +00:00

Fixed wrong state numbers due to removing the "Deleted" state.

This commit is contained in:
Filip Maj 2015-09-13 21:30:54 -04:00
parent ddf1d2d1a3
commit 0f711ab694
2 changed files with 2 additions and 2 deletions

View file

@ -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>(); }

View file

@ -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;