Add traditional chinese (zh-tw)

This commit is contained in:
William committed 2021-09-02 13:27:53 +01:00
1 parent b887edd8d5
commit ebac0b624b
4 files changed
+128 -15

No files matched your search

@@ -101,17 +101,13 @@ public class MySQL extends Database {
@Override
public void load() {
connection = getConnection();
try {
Statement statement = connection.createStatement();
try(Statement statement = connection.createStatement()) {
for (String tableCreationStatement : SQL_SETUP_STATEMENTS) {
statement.execute(tableCreationStatement);
}
statement.close();
} catch (SQLException exception) {
plugin.getLogger().log(Level.SEVERE, "An error occurred creating tables: ", exception);
exception.printStackTrace();
} catch (SQLException e) {
plugin.getLogger().log(Level.SEVERE, "An error occurred creating tables: ", e);
}
initialize();
}