Various Bugfixes
This commit is contained in:
parent
f8c3d40786
commit
61cd7bb950
3 changed files with 17 additions and 71 deletions
|
|
@ -20,7 +20,7 @@ public class PlayerList implements Listener{
|
|||
public int getAmount() {
|
||||
int totalPlayers;
|
||||
Connection conn;
|
||||
String path = "jdbc:sqlite:" + main.getDataFolder().getAbsolutePath() + "\\" + "Players.db";
|
||||
String path = "jdbc:sqlite:" + main.getDataFolder().getAbsolutePath() + "/" + "Players.db";
|
||||
try { //Try Connection
|
||||
conn = DriverManager.getConnection(path);
|
||||
}catch(SQLException sqlEx) {
|
||||
|
|
|
|||
Reference in a new issue