Fix crashing on Linux based OS'es

This commit is contained in:
SilicaAndPina 2021-02-26 14:20:45 +13:00
parent 19c30f13b0
commit 177122cd83
2 changed files with 5 additions and 2 deletions

View file

@ -2561,8 +2561,11 @@ namespace HISP.Game
if (specialTile.Description != null && specialTile.Description != "")
{
message += specialTile.Description;
message += Messages.Seperator; // <BR>
message += Messages.Seperator; // <BR>
}
string npc = buildNpc(user, specialTile.X, specialTile.Y);
message += npc;

View file

@ -3943,7 +3943,7 @@ namespace HISP.Server
db.Open();
MySqlCommand sqlCommand = db.CreateCommand();
sqlCommand.CommandText = "DELETE FROM droppeditems WHERE despawnTimer <=0";
sqlCommand.CommandText = "DELETE FROM DroppedItems WHERE despawnTimer <=0";
sqlCommand.Prepare();
sqlCommand.ExecuteNonQuery();
sqlCommand.Dispose();