init playerBackup field on enable.

This commit is contained in:
DNx5 2015-09-14 04:21:38 +07:00
parent a4fd60a6f6
commit 2fe9e735a1

View File

@ -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);