Re-add EnsureExists signature to fix compat with old plugins

Fixes #862
This commit is contained in:
Lucas Nicodemus 2015-02-22 08:43:12 -07:00
parent 0adcf32e3f
commit 04145a4aca
11 changed files with 33 additions and 11 deletions

2
TShockAPI/DB/GroupManager.cs Normal file → Executable file
View file

@ -47,7 +47,7 @@ namespace TShockAPI.DB
db.GetSqlType() == SqlType.Sqlite
? (IQueryBuilder) new SqliteQueryCreator()
: new MysqlQueryCreator());
if (creator.EnsureExists(table))
if (creator.EnsureTableStructure(table))
{
// Add default groups if they don't exist
AddDefaultGroup("guest", "",