Skip to content

Commit

Permalink
Fix SQLiteConnection on Microsoft sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
Stealownz committed Nov 4, 2022
1 parent e138b70 commit 5479cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WorldEdit/WorldEdit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ private void OnInitialize(EventArgs e)
break;
case "sqlite":
string sql = Path.Combine(TShock.SavePath, "worldedit.sqlite");
Database = new SqliteConnection(string.Format("uri=file://{0},Version=3", sql));
Database = new SqliteConnection(string.Format("Data Source={0}", sql));
break;
}

Expand Down

0 comments on commit 5479cbd

Please sign in to comment.