示例#1
0
  @Override
  public void onDisable() {

    // new save_invation_data_task(this, inv_data, this.inv_save_path)
    // .runTask(this);

    super.onDisable();
  }
示例#2
0
 public void onDisable() {
   disabling = true;
   for (Game game : this.games.GAMES.values()) {
     if (game.getStatus() == Status.INGAME) {
       this.game.stopGame(game, 1);
     }
   }
   super.onDisable();
 }
示例#3
0
  /**
   * Sets the enabled state of this plugin
   *
   * @param enabled true if enabled, otherwise false
   */
  protected void setEnabled(final boolean enabled) {
    if (isEnabled != enabled) {
      isEnabled = enabled;

      if (isEnabled) {
        onEnable();
      } else {
        onDisable();
      }
    }
  }
示例#4
0
 @Override
 public void onDisable() {
   super.onDisable();
   portalCrafters.clear();
   // lazyWorldServerMap.clear();
 }
示例#5
0
 /* (non-Javadoc)
  * Called then the plugin unloads
  */
 @Override
 public void onDisable() {
   dbHelper.stopSaverScheduler();
   dbHelper.forceSave();
   super.onDisable();
 }
示例#6
0
 @Override
 public void onDisable() {
   SectionManager.me().destory();
   super.onDisable();
 }
示例#7
0
 @Override
 public void onDisable() {
   // TODO Auto-generated method stub
   super.onDisable();
 }
示例#8
0
 @Override
 public void onDisable() {
   super.onDisable(); // To change body of generated methods, choose Tools | Templates.
 }
示例#9
0
 @Override
 public void onDisable() {
   super.onDisable();
 }