mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 13:45:42 +12:00
Fix crashing on Linux based OS'es
This commit is contained in:
parent
19c30f13b0
commit
177122cd83
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue