From bcff6c671938db06009c40755ba425af96e38160 Mon Sep 17 00:00:00 2001 From: Dan Mulloy Date: Fri, 8 Nov 2024 11:03:51 -0600 Subject: [PATCH] Update to 1.21.3 --- build.gradle.kts | 6 +++--- .../comphenix/protocol/wrappers/WrappedRegistrableTest.java | 2 +- .../comphenix/protocol/wrappers/WrappedRegistryTest.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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()); }