public void onReload() { viewMan.clearAll(); HandlerList.unregisterAll(viewMan); configMan.getConfig("kits.yml").reloadConfig(); kitMan = new KitManager(this); viewMan = new ViewManager(this); getServer().getPluginManager().registerEvents(viewMan, this); }
@Override public void onDisable() { viewMan.clearAll(); }