diff --git a/build.gradle.kts b/build.gradle.kts index e0e5a0a1..a5f25b46 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -13,7 +13,7 @@ group = "com.comphenix.protocol" version = "5.4.0-SNAPSHOT" description = "Provides access to the Minecraft protocol" -val mcVersion = "1.21.2" +val mcVersion = "1.21.3" val isSnapshot = version.toString().endsWith("-SNAPSHOT") val buildNumber = System.getenv("BUILD_NUMBER") ?: "" val isJenkins = buildNumber.isNotEmpty() @@ -26,11 +26,11 @@ repositories { mavenCentral() maven { - url = uri("https://repo.dmulloy2.net/repository/public/") + url = uri("https://repo.codemc.io/repository/nms/") } maven { - url = uri("https://repo.codemc.io/repository/nms/") + url = uri("https://repo.dmulloy2.net/repository/public/") } maven { diff --git a/src/test/java/com/comphenix/protocol/wrappers/WrappedRegistrableTest.java b/src/test/java/com/comphenix/protocol/wrappers/WrappedRegistrableTest.java index ebbfa37a..1354e334 100644 --- a/src/test/java/com/comphenix/protocol/wrappers/WrappedRegistrableTest.java +++ b/src/test/java/com/comphenix/protocol/wrappers/WrappedRegistrableTest.java @@ -26,7 +26,7 @@ public class WrappedRegistrableTest { // some randomly selected registrables which we can prove that work using the bukkit api validate(MinecraftReflection.getEntityTypes(), EntityType.WARDEN.getKey()); validate(MinecraftReflection.getItemClass(), Material.DIAMOND_AXE.getKey()); - validate(MinecraftReflection.getAttributeBase(), Attribute.GENERIC_MAX_HEALTH.getKey()); + validate(MinecraftReflection.getAttributeBase(), Attribute.MAX_HEALTH.getKey()); validate(MinecraftReflection.getSoundEffectClass(), Sound.ENTITY_WARDEN_SNIFF.getKey()); validate(MinecraftReflection.getMobEffectListClass(), PotionEffectType.REGENERATION.getKey()); } diff --git a/src/test/java/com/comphenix/protocol/wrappers/WrappedRegistryTest.java b/src/test/java/com/comphenix/protocol/wrappers/WrappedRegistryTest.java index 1a2cb741..5552c15a 100644 --- a/src/test/java/com/comphenix/protocol/wrappers/WrappedRegistryTest.java +++ b/src/test/java/com/comphenix/protocol/wrappers/WrappedRegistryTest.java @@ -26,7 +26,7 @@ public class WrappedRegistryTest { // some randomly selected registries which we can proof to work using the bukkit api validate(MinecraftReflection.getEntityTypes(), EntityType.WARDEN.getKey()); validate(MinecraftReflection.getItemClass(), Material.DIAMOND_AXE.getKey()); - validate(MinecraftReflection.getAttributeBase(), Attribute.GENERIC_MAX_HEALTH.getKey()); + validate(MinecraftReflection.getAttributeBase(), Attribute.MAX_HEALTH.getKey()); validate(MinecraftReflection.getSoundEffectClass(), Sound.ENTITY_WARDEN_SNIFF.getKey()); validate(MinecraftReflection.getMobEffectListClass(), PotionEffectType.REGENERATION.getKey()); }