This commit is contained in:
Gabriele C 2015-09-09 20:21:45 +02:00
parent 0180b2210c
commit 08c77b6483

View File

@ -243,7 +243,9 @@ public class AuthMe extends JavaPlugin {
pm.registerEvents(new AuthMeBlockListener(this), this);
pm.registerEvents(new AuthMeEntityListener(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);
ConsoleLogger.info("Hooked successfully with ChestShop!");
}