File tree 3 files changed +4
-3
lines changed
pvpmanager/src/main/java/me/NoChance/PvPManager/Player
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Artifact Information:
33
33
<dependency >
34
34
<groupId >me.NoChance.PvPManager</groupId >
35
35
<artifactId >pvpmanager</artifactId >
36
- <version >3.18.21 </version >
36
+ <version >3.18.29 </version >
37
37
<scope >provided</scope >
38
38
</dependency >
39
39
```
Original file line number Diff line number Diff line change 11
11
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
12
12
<sonar .organization>chancesd</sonar .organization>
13
13
<sonar .host.url>https://sonarcloud.io</sonar .host.url>
14
- <revision >3.18.26 </revision >
14
+ <revision >3.18.29 </revision >
15
15
</properties >
16
16
17
17
<distributionManagement >
Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ public final void message(final String message) {
71
71
* @param duration The duration in milliseconds
72
72
*/
73
73
public void sendActionBar (final String message , final long duration ) {
74
- if (System .currentTimeMillis () < actionBarCooldown || message .isEmpty () || message .equals (lastActionBarMessage ))
74
+ if (System .currentTimeMillis () < actionBarCooldown || message .isEmpty ()
75
+ || System .currentTimeMillis () - actionBarCooldown < 1000 && message .equals (lastActionBarMessage ))
75
76
return ;
76
77
if (CombatUtils .isVersionAtLeast (Settings .getMinecraftVersion (), "1.10" )) { // Premium PvPManager supports lower versions with NMS
77
78
if (CombatUtils .isVersionAtLeast (Settings .getMinecraftVersion (), "1.16.5" )) {
You can’t perform that action at this time.
0 commit comments