Updated to 5.0.0

This commit is contained in:
Auxilor 2020-10-28 15:31:56 +00:00
parent 5d5b4ebfda
commit ab3993ff94
7 changed files with 7 additions and 6 deletions

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId> <groupId>com.willfp.ecoenchants</groupId>
<version>5.0.0-pre4</version> <version>5.0.0</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId> <groupId>com.willfp.ecoenchants</groupId>
<version>5.0.0-pre4</version> <version>5.0.0</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId> <groupId>com.willfp.ecoenchants</groupId>
<version>5.0.0-pre4</version> <version>5.0.0</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId> <groupId>com.willfp.ecoenchants</groupId>
<version>5.0.0-pre4</version> <version>5.0.0</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -7,7 +7,7 @@
<parent> <parent>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<groupId>com.willfp.ecoenchants</groupId> <groupId>com.willfp.ecoenchants</groupId>
<version>5.0.0-pre4</version> <version>5.0.0</version>
</parent> </parent>
<artifactId>plugin</artifactId> <artifactId>plugin</artifactId>

View File

@ -287,6 +287,7 @@ public class EcoEnchants {
Optional<EcoEnchant> matching = getAll().stream().filter(enchant -> enchant.getKey().equals(key)).findFirst(); Optional<EcoEnchant> matching = getAll().stream().filter(enchant -> enchant.getKey().equals(key)).findFirst();
return matching.orElse(null); return matching.orElse(null);
} }
/** /**
* Get if {@link ItemStack} has any {@link EcoEnchant} matching specified {@link com.willfp.ecoenchants.enchantments.EcoEnchant.EnchantmentType} * Get if {@link ItemStack} has any {@link EcoEnchant} matching specified {@link com.willfp.ecoenchants.enchantments.EcoEnchant.EnchantmentType}
* *

View File

@ -6,7 +6,7 @@
<groupId>com.willfp.ecoenchants</groupId> <groupId>com.willfp.ecoenchants</groupId>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<version>5.0.0-pre4</version> <version>5.0.0</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>EcoEnchants Parent</name> <name>EcoEnchants Parent</name>