예제 #1
0
 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);
 }
예제 #2
0
 @Override
 public void onDisable() {
   viewMan.clearAll();
 }