mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-27 20:57:35 +01:00
init playerBackup field on enable.
This commit is contained in:
parent
a4fd60a6f6
commit
2fe9e735a1
@ -65,7 +65,7 @@ public class AuthMe extends JavaPlugin {
|
||||
public DataManager dataManager;
|
||||
public DataSource database;
|
||||
|
||||
private JsonCache playerBackup = new JsonCache(this);
|
||||
private JsonCache playerBackup;
|
||||
public OtherAccounts otherAccounts;
|
||||
public Permission permission;
|
||||
public Essentials ess;
|
||||
@ -239,6 +239,9 @@ public class AuthMe extends JavaPlugin {
|
||||
return;
|
||||
}
|
||||
|
||||
// Setup the inventory backup
|
||||
playerBackup = new JsonCache(this);
|
||||
|
||||
// Set the DataManager
|
||||
dataManager = new DataManager(this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user