Fixed a lot of database stuff.

This commit is contained in:
Lucas Nicodemus 2011-07-12 21:30:55 -06:00
parent 9596950a54
commit cbc6bd2751
3 changed files with 2 additions and 11 deletions

View file

@ -63,7 +63,7 @@ namespace TShockAPI.DB
else if (TShock.Config.StorageType.ToLower() == "mysql")
com.CommandText = "INSERT IGNORE INTO GroupList SET GroupName=@groupname, Commands=@commands, OrderBy=@order;";
com.AddParameter("@groupname", "default");
com.AddParameter("@commands", "canwater,canlava,warp");
com.AddParameter("@commands", "canwater,canlava,warp,canbuild");
com.AddParameter("@order", "4");
com.ExecuteNonQuery();
com.Parameters.Clear();