mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-29 12:07:54 +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 File usersFile;
|
||||
|
||||
public FlatfileDatabaseManager() {
|
||||
protected FlatfileDatabaseManager() {
|
||||
usersFile = new File(mcMMO.getUsersFilePath());
|
||||
createDatabase();
|
||||
updateLeaderboards();
|
||||
|
@ -48,7 +48,7 @@ public final class SQLDatabaseManager implements DatabaseManager {
|
||||
// How many connection attempts have failed
|
||||
private int reconnectAttempt = 0;
|
||||
|
||||
public SQLDatabaseManager() {
|
||||
protected SQLDatabaseManager() {
|
||||
checkConnected();
|
||||
createStructure();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user