database fix

This commit is contained in:
Brianna O'Keefe 2018-11-09 16:28:11 -05:00
parent b02f04561b
commit 7f8b22c4c5

View File

@ -31,12 +31,12 @@ public class MySQLDatabase {
try {
connection.createStatement().execute("CREATE TABLE IF NOT EXISTS `" + instance.getConfig().getString("Database.Prefix") + "entities` (\n" +
"\t`uuid` TEXT NULL,\n" +
"\t`amount` INT NULL,\n" +
"\t`amount` INT NULL\n" +
")");
connection.createStatement().execute("CREATE TABLE IF NOT EXISTS `" + instance.getConfig().getString("Database.Prefix") + "spawners` (\n" +
"\t`location` TEXT NULL,\n" +
"\t`amount` INT NULL,\n" +
"\t`amount` INT NULL\n" +
")");
} catch (SQLException e) {