v4.0.1 beta

This commit is contained in:
BuildTools 2024-04-02 13:06:53 +05:00
parent 48a88f36f9
commit f889381cb9
10 changed files with 22 additions and 20 deletions

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>ExcellentEnchants</artifactId>
<groupId>su.nightexpress.excellentenchants</groupId>
<version>4.0.0</version>
<version>4.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>ExcellentEnchants</artifactId>
<groupId>su.nightexpress.excellentenchants</groupId>
<version>4.0.0</version>
<version>4.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -73,32 +73,32 @@
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>API</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>NMS</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>V1_19_R3</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>V1_20_R1</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>V1_20_R2</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>V1_20_R3</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
</dependencies>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>ExcellentEnchants</artifactId>
<groupId>su.nightexpress.excellentenchants</groupId>
<version>4.0.0</version>
<version>4.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -33,7 +33,7 @@
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>API</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
</dependencies>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>ExcellentEnchants</artifactId>
<groupId>su.nightexpress.excellentenchants</groupId>
<version>4.0.0</version>
<version>4.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -27,7 +27,7 @@
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>NMS</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
</dependencies>

View File

@ -61,6 +61,7 @@ public class V1_19_R3 implements EnchantNMS {
@Override
public void registerEnchantment(@NotNull EnchantmentData data) {
CustomEnchantment customEnchantment = new CustomEnchantment(data);
BuiltInRegistries.ENCHANTMENT.createIntrusiveHolder(customEnchantment);
Registry.register(BuiltInRegistries.ENCHANTMENT, data.getId(), customEnchantment);
CraftEnchantment craftEnchantment = new CraftEnchantment(customEnchantment);

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>ExcellentEnchants</artifactId>
<groupId>su.nightexpress.excellentenchants</groupId>
<version>4.0.0</version>
<version>4.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -27,7 +27,7 @@
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>NMS</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
</dependencies>

View File

@ -62,6 +62,7 @@ public class V1_20_R1 implements EnchantNMS {
@Override
public void registerEnchantment(@NotNull EnchantmentData data) {
CustomEnchantment customEnchantment = new CustomEnchantment(data);
BuiltInRegistries.ENCHANTMENT.createIntrusiveHolder(customEnchantment);
Registry.register(BuiltInRegistries.ENCHANTMENT, data.getId(), customEnchantment);
CraftEnchantment craftEnchantment = new CraftEnchantment(customEnchantment);

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>ExcellentEnchants</artifactId>
<groupId>su.nightexpress.excellentenchants</groupId>
<version>4.0.0</version>
<version>4.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -27,7 +27,7 @@
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>NMS</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
</dependencies>

View File

@ -5,7 +5,7 @@
<parent>
<artifactId>ExcellentEnchants</artifactId>
<groupId>su.nightexpress.excellentenchants</groupId>
<version>4.0.0</version>
<version>4.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -27,12 +27,12 @@
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>API</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>NMS</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
</dependency>
</dependencies>

View File

@ -7,7 +7,7 @@
<groupId>su.nightexpress.excellentenchants</groupId>
<artifactId>ExcellentEnchants</artifactId>
<packaging>pom</packaging>
<version>4.0.0</version>
<version>4.0.1</version>
<modules>
<module>Core</module>
<module>NMS</module>