diff --git a/SpigotCore_Main/src/de/steamwar/sql/SQL.java b/SpigotCore_Main/src/de/steamwar/sql/SQL.java index 45a6583..bbe2701 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SQL.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SQL.java @@ -38,7 +38,7 @@ public class SQL { private static Connection con; static{ - File file = new File(Core.getInstance().getDataFolder(), "MySQL.yml");; + File file = new File(Core.getInstance().getDataFolder(), "MySQL.yml"); YamlConfiguration config = YamlConfiguration.loadConfiguration(file); if(!file.exists()) diff --git a/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java b/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java index 76e8c2a..fbc7a8f 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java @@ -96,6 +96,7 @@ public class SteamwarUser { } catch (SQLException e) { throw new SecurityException("SQL Statement failed to get User", e); } + Bukkit.getLogger().severe("Unexpected Server Exception"); return null; }