Skip to content

Commit

Permalink
Update to 3.18.29
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanceSD committed Dec 23, 2024
1 parent bf34364 commit 80b0667
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Artifact Information:
<dependency>
<groupId>me.NoChance.PvPManager</groupId>
<artifactId>pvpmanager</artifactId>
<version>3.18.21</version>
<version>3.18.29</version>
<scope>provided</scope>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonar.organization>chancesd</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<revision>3.18.26</revision>
<revision>3.18.29</revision>
</properties>

<distributionManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ public final void message(final String message) {
* @param duration The duration in milliseconds
*/
public void sendActionBar(final String message, final long duration) {
if (System.currentTimeMillis() < actionBarCooldown || message.isEmpty() || message.equals(lastActionBarMessage))
if (System.currentTimeMillis() < actionBarCooldown || message.isEmpty()
|| System.currentTimeMillis() - actionBarCooldown < 1000 && message.equals(lastActionBarMessage))
return;
if (CombatUtils.isVersionAtLeast(Settings.getMinecraftVersion(), "1.10")) { // Premium PvPManager supports lower versions with NMS
if (CombatUtils.isVersionAtLeast(Settings.getMinecraftVersion(), "1.16.5")) {
Expand Down

0 comments on commit 80b0667

Please sign in to comment.