mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-23 11:05:46 +01:00
Update to 1.21.3
This commit is contained in:
parent
3155e76d06
commit
bcff6c6719
@ -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 {
|
||||
|
@ -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());
|
||||
}
|
||||
|
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user