Geyser/connector/src/main/java/org/geysermc/connector/network
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
..
remote Merge branch 'master' into plugin (should fix building) 2020-01-18 16:46:07 -06:00
session Add 1.9+ PvP 'Cooldown' (#768) 2020-06-16 19:03:28 -05:00
translators Add 1.9+ PvP 'Cooldown' (#768) 2020-06-16 19:03:28 -05:00
ConnectorServerEventHandler.java Configuration updates (#653) 2020-06-10 17:58:29 -05:00
LoggingPacketHandler.java Update to NukkitX Protocol Lib 2.5.0 release 2020-02-14 17:39:26 -06:00
QueryPacketHandler.java Fix query not following normal MC standards (#736) 2020-06-04 20:04:38 -04:00
UpstreamPacketHandler.java Configuration updates (#653) 2020-06-10 17:58:29 -05:00