diff --git a/src/main/java/com/gmail/nossr50/database/Database.java b/src/main/java/com/gmail/nossr50/database/Database.java index 7d028873d..966573e5d 100644 --- a/src/main/java/com/gmail/nossr50/database/Database.java +++ b/src/main/java/com/gmail/nossr50/database/Database.java @@ -71,10 +71,14 @@ public final class Database { mcMMO.p.getLogger().info("Connection to MySQL was a success!"); } catch (SQLException ex) { connection = null; - if (reconnectAttempt == 0 || reconnectAttempt >= 11) mcMMO.p.getLogger().info("Connection to MySQL failed!"); + if (reconnectAttempt == 0 || reconnectAttempt >= 11) { + mcMMO.p.getLogger().info("Connection to MySQL failed!"); + } } catch (ClassNotFoundException ex) { connection = null; - if (reconnectAttempt == 0 || reconnectAttempt >= 11) mcMMO.p.getLogger().info("MySQL database driver not found!"); + if (reconnectAttempt == 0 || reconnectAttempt >= 11) { + mcMMO.p.getLogger().info("MySQL database driver not found!"); + } } } diff --git a/src/main/java/com/gmail/nossr50/skills/Combat.java b/src/main/java/com/gmail/nossr50/skills/Combat.java index e35d44498..86f07c815 100644 --- a/src/main/java/com/gmail/nossr50/skills/Combat.java +++ b/src/main/java/com/gmail/nossr50/skills/Combat.java @@ -48,7 +48,7 @@ import com.gmail.nossr50.util.Users; public final class Combat { private static Config configInstance = Config.getInstance(); - private Combat() {}; + private Combat() {} /** * Apply combat modifiers and process and XP gain.