mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-09 04:02:10 +01:00
Cleanup
This commit is contained in:
parent
0180b2210c
commit
08c77b6483
@ -243,7 +243,9 @@ public class AuthMe extends JavaPlugin {
|
|||||||
pm.registerEvents(new AuthMeBlockListener(this), this);
|
pm.registerEvents(new AuthMeBlockListener(this), this);
|
||||||
pm.registerEvents(new AuthMeEntityListener(this), this);
|
pm.registerEvents(new AuthMeEntityListener(this), this);
|
||||||
pm.registerEvents(new AuthMeServerListener(this), this);
|
pm.registerEvents(new AuthMeServerListener(this), this);
|
||||||
if (ChestShop != 0) {
|
|
||||||
|
// Legacy chestshop hook
|
||||||
|
if (ChestShop != 0 && ChestShop < 3.813) {
|
||||||
pm.registerEvents(new AuthMeChestShopListener(this), this);
|
pm.registerEvents(new AuthMeChestShopListener(this), this);
|
||||||
ConsoleLogger.info("Hooked successfully with ChestShop!");
|
ConsoleLogger.info("Hooked successfully with ChestShop!");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user