mirror of
https://github.com/LordBoos/boosCooldowns.git
synced 2024-11-30 06:33:21 +01:00
removed unused code, updated plugin.yml, fixed warmup stuck if player
is offline when command is executed
This commit is contained in:
parent
dc6dd39c39
commit
a604eec04f
@ -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);
|
||||
|
@ -257,9 +257,4 @@ public class boosCoolDownPlayerListener extends PlayerListener {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void onPlayerQuit(PlayerQuitEvent event){
|
||||
// TODO COde onPlayerQuit
|
||||
}
|
||||
|
||||
}
|
@ -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: >
|
||||
|
Loading…
Reference in New Issue
Block a user