mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-09 04:02:10 +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 DataManager dataManager;
|
||||||
public DataSource database;
|
public DataSource database;
|
||||||
|
|
||||||
private JsonCache playerBackup = new JsonCache(this);
|
private JsonCache playerBackup;
|
||||||
public OtherAccounts otherAccounts;
|
public OtherAccounts otherAccounts;
|
||||||
public Permission permission;
|
public Permission permission;
|
||||||
public Essentials ess;
|
public Essentials ess;
|
||||||
@ -239,6 +239,9 @@ public class AuthMe extends JavaPlugin {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Setup the inventory backup
|
||||||
|
playerBackup = new JsonCache(this);
|
||||||
|
|
||||||
// Set the DataManager
|
// Set the DataManager
|
||||||
dataManager = new DataManager(this);
|
dataManager = new DataManager(this);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user