@Override public void onDisable() { // new save_invation_data_task(this, inv_data, this.inv_save_path) // .runTask(this); super.onDisable(); }
public void onDisable() { disabling = true; for (Game game : this.games.GAMES.values()) { if (game.getStatus() == Status.INGAME) { this.game.stopGame(game, 1); } } super.onDisable(); }
/** * 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(); } } }
@Override public void onDisable() { super.onDisable(); portalCrafters.clear(); // lazyWorldServerMap.clear(); }
/* (non-Javadoc) * Called then the plugin unloads */ @Override public void onDisable() { dbHelper.stopSaverScheduler(); dbHelper.forceSave(); super.onDisable(); }
@Override public void onDisable() { SectionManager.me().destory(); super.onDisable(); }
@Override public void onDisable() { // TODO Auto-generated method stub super.onDisable(); }
@Override public void onDisable() { super.onDisable(); // To change body of generated methods, choose Tools | Templates. }
@Override public void onDisable() { super.onDisable(); }