.gitignore Fixed
This commit is contained in:
parent
ffd78cee4e
commit
023117e0ac
24 changed files with 22 additions and 0 deletions
|
|
@ -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 + "================");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue