Add PlayerShieldDisableEvent
Called whenever a player's shield is being disabled. The cooldown (default 100 ticks) is also provided to optionally be changed
As I was looking over the impl for this event, I realized its REALLY close to another event, the
PlayerItemCooldownEvent.Would it be better to make this event a sub-event of that event, adding the extra context for the damager? The cooldown event is called right inside addCooldown, so its not really that big of a refactor I don't think.
Less code best code!
Rebased this once more. I have dropped the extends for the item cooldown event.
In general, issue with that even being a child of item cooldown event is that plugins listening for the cooldown event itself might cancel a shield disable, leading to the extra "effect" of a disabled shield damage event, (no stopUse item call and no game event) which might not be intended.