Fix compatibility
This commit is contained in:
parent
807d302b60
commit
a502a479b8
@ -73,9 +73,9 @@ import fr.xephi.authme.settings.Spawn;
|
|||||||
public class AuthMe extends JavaPlugin {
|
public class AuthMe extends JavaPlugin {
|
||||||
|
|
||||||
private static AuthMe authme;
|
private static AuthMe authme;
|
||||||
|
private static Server server;
|
||||||
|
private Logger authmeLogger;
|
||||||
|
|
||||||
private final Server server = getServer();
|
|
||||||
private Logger authmeLogger = Logger.getLogger("AuthMe");
|
|
||||||
public Management management;
|
public Management management;
|
||||||
public NewAPI api;
|
public NewAPI api;
|
||||||
public SendMailSSL mail;
|
public SendMailSSL mail;
|
||||||
@ -96,7 +96,7 @@ public class AuthMe extends JavaPlugin {
|
|||||||
public CombatTagPlus combatTagPlus;
|
public CombatTagPlus combatTagPlus;
|
||||||
public AuthMeInventoryPacketAdapter inventoryProtector;
|
public AuthMeInventoryPacketAdapter inventoryProtector;
|
||||||
|
|
||||||
// Manager
|
// Module manager
|
||||||
private ModuleManager moduleManager;
|
private ModuleManager moduleManager;
|
||||||
|
|
||||||
// TODO: Create Manager for fields below
|
// TODO: Create Manager for fields below
|
||||||
@ -124,6 +124,8 @@ public class AuthMe extends JavaPlugin {
|
|||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
// Set the Instance
|
// Set the Instance
|
||||||
|
server = getServer();
|
||||||
|
authmeLogger = Logger.getLogger("AuthMe");
|
||||||
authme = this;
|
authme = this;
|
||||||
|
|
||||||
// TODO: split the plugin in more modules
|
// TODO: split the plugin in more modules
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user