Remove flat file conversion code
This commit is contained in:
parent
f47ce942f4
commit
2bfdaaaabc
3 changed files with 2 additions and 122 deletions
|
|
@ -125,18 +125,6 @@ namespace TShockAPI.DB
|
|||
File.Move(file, file2);
|
||||
}
|
||||
|
||||
public void ConvertDB()
|
||||
{
|
||||
try
|
||||
{
|
||||
database.Query("UPDATE Warps SET WorldID=@0", Main.worldID.ToString());
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Error(ex.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
public bool AddWarp(int x, int y, string name, string worldid)
|
||||
{
|
||||
try
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue