mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +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>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
<artifactId>PlotSquared</artifactId>
|
<artifactId>PlotSquared</artifactId>
|
||||||
<version>2.12.8</version>
|
<version>2.12.9</version>
|
||||||
<name>PlotSquared</name>
|
<name>PlotSquared</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<build>
|
<build>
|
||||||
|
@ -103,7 +103,7 @@ public class Database extends SubCommand {
|
|||||||
}
|
}
|
||||||
final SQLManager manager = new SQLManager(n, prefix);
|
final SQLManager manager = new SQLManager(n, prefix);
|
||||||
try {
|
try {
|
||||||
manager.createTables(Settings.DB.USE_MYSQL ? "mysql" : "sqlite");
|
manager.createTables("mysql");
|
||||||
} catch (final SQLException e) {
|
} catch (final SQLException e) {
|
||||||
e.printStackTrace();
|
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");
|
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