Skip to content

Commit

Permalink
Fix broken messages from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
NEZNAMY committed Feb 1, 2025
1 parent 4644a0a commit 0f85aa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/src/main/java/me/neznamy/tab/shared/TAB.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public String load() {
pluginDisabled = false;
cpu.enable();
configHelper.startup().printWarnCount();
platform.logInfo(new TextComponent("&aEnabled in " + (System.currentTimeMillis()-time) + "ms", TextColor.GREEN));
platform.logInfo(new TextComponent("Enabled in " + (System.currentTimeMillis()-time) + "ms", TextColor.GREEN));
return configuration.getMessages().getReloadSuccess();
} catch (YAMLException e) {
platform.logWarn(new TextComponent("Did not enable due to a broken configuration file.", TextColor.RED));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void openConnection() throws SQLException {
properties.setProperty("useSSL", String.valueOf(configuration.isUseSSL()));
properties.setProperty("characterEncoding", "UTF-8");
con = DriverManager.getConnection(String.format("jdbc:mysql://%s:%d/%s", configuration.getHost(), configuration.getPort(), configuration.getDatabase()), properties);
TAB.getInstance().getPlatform().logInfo(new TextComponent("&aSuccessfully connected to MySQL", TextColor.GREEN));
TAB.getInstance().getPlatform().logInfo(new TextComponent("Successfully connected to MySQL", TextColor.GREEN));
}

public void closeConnection() throws SQLException {
Expand Down

0 comments on commit 0f85aa5

Please sign in to comment.