login protection option and some upgrades

This commit is contained in:
YouHaveTrouble
2021-02-25 02:50:18 +01:00
parent 0a984a5b4a
commit 7655b2804e
12 changed files with 113 additions and 34 deletions
@@ -70,7 +70,7 @@ public class DatabaseSQLite {
ResultSet result = statement.getResultSet();
boolean state = result.getBoolean("pvpenabled");
conn.close();
return new PlayerData(state);
return new PlayerData(state, 0);
} catch (SQLException throwables) {
throwables.printStackTrace();
}