Geyser/bootstrap/sponge
Camotoy 9369b20209
Add 1.9+ PvP 'Cooldown' (#768)
* Add 1.9+ PvP 'Cooldown'

This commit adds a subtitle that acts as the Java cooldown. This is an optional feature disabled in the config with `show-cooldown`. This does not appear on plugins that use OldCombatMechanics.

* No need to bump up the config version; I was just tested with OldCombatMechanics

* Use simpler casting

* Use session variable of lastHitTime for theoretically better performance

* Reuse attribute value calculation from AttributeUtils

* Remove unused imports

* Revert config version update in config.yml
2020-06-16 19:03:28 -05:00
..
src/main/java/org/geysermc/platform/sponge Add 1.9+ PvP 'Cooldown' (#768) 2020-06-16 19:03:28 -05:00
pom.xml Adds a message if someone runs one of the plugins directly (#457) 2020-04-30 01:40:45 -05:00