removed unused code, updated plugin.yml, fixed warmup stuck if player

is offline when command is executed
This commit is contained in:
Boos 2012-01-01 23:19:32 +01:00
parent dc6dd39c39
commit a604eec04f
3 changed files with 1 additions and 8 deletions

View File

@ -147,8 +147,6 @@ public class boosCoolDown extends JavaPlugin {
Event.Priority.Lowest, this);
pm.registerEvent(Event.Type.ENTITY_DEATH, entityListener,
Event.Priority.Normal, this);
pm.registerEvent(Event.Type.PLAYER_QUIT, playerListener,
Event.Priority.Normal, this);
if (boosConfigManager.getCancelWarmUpOnDamage()) {
pm.registerEvent(Event.Type.ENTITY_DAMAGE, entityListener,
Event.Priority.Normal, this);

View File

@ -257,9 +257,4 @@ public class boosCoolDownPlayerListener extends PlayerListener {
}
}
}
public void onPlayerQuit(PlayerQuitEvent event){
// TODO COde onPlayerQuit
}
}

View File

@ -1,6 +1,6 @@
name: boosCooldown
main: cz.boosik.boosCooldown.boosCoolDown
version: 1.8.1
version: 1.8.2
author: boosik
softdepend: [Vault, iConomy 4 & 5 & 6, BOSEconomy 6 & 7, EssentialsEcon, 3Co, MultiCurrency, MineConomy, eWallet, EconXP]
description: >