mirror of
https://github.com/LordBoos/boosCooldowns.git
synced 2024-11-27 04:55:28 +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);
|
Event.Priority.Lowest, this);
|
||||||
pm.registerEvent(Event.Type.ENTITY_DEATH, entityListener,
|
pm.registerEvent(Event.Type.ENTITY_DEATH, entityListener,
|
||||||
Event.Priority.Normal, this);
|
Event.Priority.Normal, this);
|
||||||
pm.registerEvent(Event.Type.PLAYER_QUIT, playerListener,
|
|
||||||
Event.Priority.Normal, this);
|
|
||||||
if (boosConfigManager.getCancelWarmUpOnDamage()) {
|
if (boosConfigManager.getCancelWarmUpOnDamage()) {
|
||||||
pm.registerEvent(Event.Type.ENTITY_DAMAGE, entityListener,
|
pm.registerEvent(Event.Type.ENTITY_DAMAGE, entityListener,
|
||||||
Event.Priority.Normal, this);
|
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
|
name: boosCooldown
|
||||||
main: cz.boosik.boosCooldown.boosCoolDown
|
main: cz.boosik.boosCooldown.boosCoolDown
|
||||||
version: 1.8.1
|
version: 1.8.2
|
||||||
author: boosik
|
author: boosik
|
||||||
softdepend: [Vault, iConomy 4 & 5 & 6, BOSEconomy 6 & 7, EssentialsEcon, 3Co, MultiCurrency, MineConomy, eWallet, EconXP]
|
softdepend: [Vault, iConomy 4 & 5 & 6, BOSEconomy 6 & 7, EssentialsEcon, 3Co, MultiCurrency, MineConomy, eWallet, EconXP]
|
||||||
description: >
|
description: >
|
||||||
|
Loading…
Reference in New Issue
Block a user