only set login timestamp on login

This commit is contained in:
YouHaveTrouble
2021-02-25 03:03:04 +01:00
parent e5d9ec456e
commit ef7016d576
4 changed files with 9 additions and 14 deletions
@@ -70,7 +70,7 @@ public class DatabaseSQLite {
ResultSet result = statement.getResultSet();
boolean state = result.getBoolean("pvpenabled");
conn.close();
return new PlayerData(state, 0);
return new PlayerData(state);
} catch (SQLException throwables) {
throwables.printStackTrace();
}