fix sqlite -> mysql

This commit is contained in:
boy0001 2015-07-16 02:32:16 +10:00
parent f0c9546e1d
commit db05ea4cca
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<artifactId>PlotSquared</artifactId>
<version>2.12.8</version>
<version>2.12.9</version>
<name>PlotSquared</name>
<packaging>jar</packaging>
<build>

View File

@ -103,7 +103,7 @@ public class Database extends SubCommand {
}
final SQLManager manager = new SQLManager(n, prefix);
try {
manager.createTables(Settings.DB.USE_MYSQL ? "mysql" : "sqlite");
manager.createTables("mysql");
} catch (final SQLException e) {
e.printStackTrace();
return sendMessage(plr, "Could not create the required tables and/or load the database") && sendMessage(plr, "Please see the stacktrace for more information");