Update dependencies

This commit is contained in:
boosik 2022-07-08 12:26:50 +02:00
parent bd2b535335
commit 32ab113a25
5 changed files with 13 additions and 20 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/plugin/target/
/.idea/
/jar/target/
/projectFilesBackup/.idea/workspace.xml

View File

@ -22,13 +22,13 @@
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>Vault</artifactId>
<version>LATEST</version>
<version>1.7.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.black_ixx</groupId>
<artifactId>PlayerPoints</artifactId>
<version>LATEST</version>
<version>2.1.3</version>
</dependency>
</dependencies>
<build>
@ -56,4 +56,4 @@
</plugin>
</plugins>
</build>
</project>
</project>

View File

@ -390,7 +390,7 @@ public class BoosCoolDownListener implements Listener {
for (final String key : commandQueue.keySet()) {
final String[] keyList = key.split("@");
if (keyList[0].equals(String.valueOf(uuid))) {
if (event.getMessage().equalsIgnoreCase(BoosConfigManager.getConfirmCommandMessage())) {
if (event.getMessage().contains(BoosConfigManager.getConfirmCommandMessage())) {
commandQueue.put(key, true);
Bukkit.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new Runnable() {
@Override
@ -431,4 +431,4 @@ public class BoosCoolDownListener implements Listener {
BoosWarmUpManager.removeWarmUpOK(player, regexCommad);
}
}
}
}

View File

@ -1,6 +1,6 @@
name: boosCooldowns
main: cz.boosik.boosCooldown.BoosCoolDown
version: 3.17.2
version: 3.17.4
api-version: 1.13
authors: [LordBoos (boosik)]
softdepend: [Vault, PlayerPoints]

20
pom.xml
View File

@ -11,23 +11,19 @@
<packaging>pom</packaging>
<url>http://maven.apache.org</url>
<properties>
<boosCooldowns.version>3.17.2</boosCooldowns.version>
<boosCooldowns.version>3.17.4</boosCooldowns.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<minecraft.version>1.18.1</minecraft.version>
<minecraft.version>1.19</minecraft.version>
<bukkit.version>R0.1</bukkit.version>
</properties>
<pluginRepositories>
<pluginRepository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Repository for Maven</name>
<url>http://download.java.net/maven/2/</url>
<url>https://download.java.net/maven/2/</url>
<layout>default</layout>
</pluginRepository>
<pluginRepository>
<id>bukkit-plugins</id>
<url>http://repo.bukkit.org/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
@ -35,17 +31,13 @@
<name>Dakani Nexus Repo</name>
<url>https://repo.dakanilabs.com/repository/maven-public/</url>
</repository>
<repository>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public/</url>
</repository>
<repository>
<id>vault-repo</id>
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
<url>https://nexus.hc.to/content/repositories/pub_releases</url>
</repository>
<repository>
<id>spigot-repo-old</id>
<url>http://repo.md-5.net/content/repositories/snapshots/</url>
<url>https://repo.md-5.net/content/repositories/snapshots/</url>
</repository>
<repository>
<id>spigot-repo</id>
@ -53,7 +45,7 @@
</repository>
<repository>
<id>elmakers-spigot-repo</id>
<url>http://maven.elmakers.com/repository/</url>
<url>https://maven.elmakers.com/repository/</url>
</repository>
</repositories>
</project>