mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-10 07:05:41 +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 != "")
|
if (specialTile.Description != null && specialTile.Description != "")
|
||||||
|
{
|
||||||
message += specialTile.Description;
|
message += specialTile.Description;
|
||||||
message += Messages.Seperator; // <BR>
|
message += Messages.Seperator; // <BR>
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
string npc = buildNpc(user, specialTile.X, specialTile.Y);
|
string npc = buildNpc(user, specialTile.X, specialTile.Y);
|
||||||
message += npc;
|
message += npc;
|
||||||
|
|
|
@ -3943,7 +3943,7 @@ namespace HISP.Server
|
||||||
db.Open();
|
db.Open();
|
||||||
MySqlCommand sqlCommand = db.CreateCommand();
|
MySqlCommand sqlCommand = db.CreateCommand();
|
||||||
|
|
||||||
sqlCommand.CommandText = "DELETE FROM droppeditems WHERE despawnTimer <=0";
|
sqlCommand.CommandText = "DELETE FROM DroppedItems WHERE despawnTimer <=0";
|
||||||
sqlCommand.Prepare();
|
sqlCommand.Prepare();
|
||||||
sqlCommand.ExecuteNonQuery();
|
sqlCommand.ExecuteNonQuery();
|
||||||
sqlCommand.Dispose();
|
sqlCommand.Dispose();
|
||||||
|
|
Loading…
Add table
Reference in a new issue