Don't throw errors about dropped columns

This commit is contained in:
TfT_02 2013-09-20 21:39:20 +02:00
parent ce7a7a31a7
commit 4c96161acb

View File

@ -842,7 +842,7 @@ public final class SQLDatabaseManager implements DatabaseManager {
return true;
}
catch (SQLException ex) {
if (!sql.equalsIgnoreCase("ALTER TABLE `" + tablePrefix + "users` DROP COLUMN `party` ;")) {
if (!sql.contains("DROP COLUMN")) {
printErrors(ex);
}
return false;