mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
fix sqlite -> mysql
This commit is contained in:
parent
f0c9546e1d
commit
db05ea4cca
@ -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>
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user