Skip to content

Commit bcff6c6

Browse files
committed
Update to 1.21.3
1 parent 3155e76 commit bcff6c6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ group = "com.comphenix.protocol"
1313
version = "5.4.0-SNAPSHOT"
1414
description = "Provides access to the Minecraft protocol"
1515

16-
val mcVersion = "1.21.2"
16+
val mcVersion = "1.21.3"
1717
val isSnapshot = version.toString().endsWith("-SNAPSHOT")
1818
val buildNumber = System.getenv("BUILD_NUMBER") ?: ""
1919
val isJenkins = buildNumber.isNotEmpty()
@@ -26,11 +26,11 @@ repositories {
2626
mavenCentral()
2727

2828
maven {
29-
url = uri("https://repo.dmulloy2.net/repository/public/")
29+
url = uri("https://repo.codemc.io/repository/nms/")
3030
}
3131

3232
maven {
33-
url = uri("https://repo.codemc.io/repository/nms/")
33+
url = uri("https://repo.dmulloy2.net/repository/public/")
3434
}
3535

3636
maven {

src/test/java/com/comphenix/protocol/wrappers/WrappedRegistrableTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void testRegistrables() {
2626
// some randomly selected registrables which we can prove that work using the bukkit api
2727
validate(MinecraftReflection.getEntityTypes(), EntityType.WARDEN.getKey());
2828
validate(MinecraftReflection.getItemClass(), Material.DIAMOND_AXE.getKey());
29-
validate(MinecraftReflection.getAttributeBase(), Attribute.GENERIC_MAX_HEALTH.getKey());
29+
validate(MinecraftReflection.getAttributeBase(), Attribute.MAX_HEALTH.getKey());
3030
validate(MinecraftReflection.getSoundEffectClass(), Sound.ENTITY_WARDEN_SNIFF.getKey());
3131
validate(MinecraftReflection.getMobEffectListClass(), PotionEffectType.REGENERATION.getKey());
3232
}

src/test/java/com/comphenix/protocol/wrappers/WrappedRegistryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void testRegistries() {
2626
// some randomly selected registries which we can proof to work using the bukkit api
2727
validate(MinecraftReflection.getEntityTypes(), EntityType.WARDEN.getKey());
2828
validate(MinecraftReflection.getItemClass(), Material.DIAMOND_AXE.getKey());
29-
validate(MinecraftReflection.getAttributeBase(), Attribute.GENERIC_MAX_HEALTH.getKey());
29+
validate(MinecraftReflection.getAttributeBase(), Attribute.MAX_HEALTH.getKey());
3030
validate(MinecraftReflection.getSoundEffectClass(), Sound.ENTITY_WARDEN_SNIFF.getKey());
3131
validate(MinecraftReflection.getMobEffectListClass(), PotionEffectType.REGENERATION.getKey());
3232
}

0 commit comments

Comments
 (0)