.gitignore Fixed

This commit is contained in:
netbenix 2020-11-10 21:07:32 +01:00
parent ffd78cee4e
commit 023117e0ac
24 changed files with 22 additions and 0 deletions

Binary file not shown.

View file

@ -234,6 +234,12 @@ public class PlayerStatistics implements Listener{
System.out.println(ConsoleColor.RED + "[LMVE]" + sqlEx.getMessage() + ConsoleColor.RESET);
}
try {
conn.close();
}catch(SQLException sqlEx) {
System.out.println(ConsoleColor.RED + "[LMVE]" + sqlEx.getMessage() + ConsoleColor.RESET);
}
}
//NEEDS UPDATE TO SQL
@ -395,6 +401,11 @@ public class PlayerStatistics implements Listener{
}catch(SQLException sqlEx) {
System.out.println(ConsoleColor.RED + "[LMVE]" + sqlEx.getMessage() + ConsoleColor.RESET);
}
try {
conn.close();
}catch(SQLException sqlEx) {
System.out.println(ConsoleColor.RED + "[LMVE]" + sqlEx.getMessage() + ConsoleColor.RESET);
}
sender.sendMessage(ChatColor.GRAY + "================");
}

View file

@ -47,6 +47,12 @@ public class SQLHandler {
}catch(SQLException sqlEx) {
System.out.println(ConsoleColor.RED + "[LMVE]" + sqlEx.getMessage() + ConsoleColor.RESET);
}
try { //Try connection close
conn.close();
}catch(SQLException sqlEx) {
System.out.println(ConsoleColor.RED + "[LMVE]" + sqlEx.getMessage() + ConsoleColor.RESET);
}
}

View file

@ -49,6 +49,11 @@ public class StatCounter implements Listener{
System.out.println(ConsoleColor.RED + "[LMVE]" + sqlEx.getMessage() + ConsoleColor.RESET);
}
try {
conn.close();
}catch(SQLException sqlEx) {
System.out.println(ConsoleColor.RED + "[LMVE]" + sqlEx.getMessage() + ConsoleColor.RESET);
}
}
}
}