Various Bugfixes

This commit is contained in:
netbenix 2020-11-20 11:31:10 +01:00
parent f8c3d40786
commit 61cd7bb950
3 changed files with 17 additions and 71 deletions

View file

@ -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) {