mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-19 15:09:19 +00:00
@@ -55,10 +55,13 @@ public class HookManager {
|
|||||||
this.listeners.add(itemsAdderHook);
|
this.listeners.add(itemsAdderHook);
|
||||||
}
|
}
|
||||||
if (pluginManager.getPlugin("Citizens") != null) {
|
if (pluginManager.getPlugin("Citizens") != null) {
|
||||||
|
this.citizensHook = null;
|
||||||
|
/*
|
||||||
this.registerHook(citizensHook.getClass());
|
this.registerHook(citizensHook.getClass());
|
||||||
this.listeners.add(citizensHook);
|
this.listeners.add(citizensHook);
|
||||||
this.citizensHook = citizensHook;
|
this.citizensHook = citizensHook;
|
||||||
this.plugin.getLogger().info("Successfully Hooked into Citizens!");
|
this.plugin.getLogger().info("Successfully Hooked into Citizens!");
|
||||||
|
*/
|
||||||
} else {
|
} else {
|
||||||
this.citizensHook = null;
|
this.citizensHook = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user