mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
These should be protected.
This commit is contained in:
parent
8705974e08
commit
4ff4271da2
@ -35,7 +35,7 @@ public final class FlatfileDatabaseManager implements DatabaseManager {
|
|||||||
private final long UPDATE_WAIT_TIME = 600000L; // 10 minutes
|
private final long UPDATE_WAIT_TIME = 600000L; // 10 minutes
|
||||||
private final File usersFile;
|
private final File usersFile;
|
||||||
|
|
||||||
public FlatfileDatabaseManager() {
|
protected FlatfileDatabaseManager() {
|
||||||
usersFile = new File(mcMMO.getUsersFilePath());
|
usersFile = new File(mcMMO.getUsersFilePath());
|
||||||
createDatabase();
|
createDatabase();
|
||||||
updateLeaderboards();
|
updateLeaderboards();
|
||||||
|
@ -48,7 +48,7 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
|||||||
// How many connection attempts have failed
|
// How many connection attempts have failed
|
||||||
private int reconnectAttempt = 0;
|
private int reconnectAttempt = 0;
|
||||||
|
|
||||||
public SQLDatabaseManager() {
|
protected SQLDatabaseManager() {
|
||||||
checkConnected();
|
checkConnected();
|
||||||
createStructure();
|
createStructure();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user