From a7ca98131dd9d501838b4acb07e07b73148d4e7a Mon Sep 17 00:00:00 2001 From: Danielle Voznyy Date: Mon, 24 Feb 2025 23:40:10 -0500 Subject: [PATCH] chore: Start 1.21.4 update --- build.gradle.kts | 2 +- gradle.properties | 2 +- .../com/mineinabyss/deeperworld/movement/MovementHandler.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 07283f1..936c036 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,7 +19,7 @@ repositories { maven("https://repo.mineinabyss.com/snapshots") maven("https://papermc.io/repo/repository/maven-public/") //Paper maven("https://repo.codemc.org/repository/maven-public/") - maven("https://jitpack.io") + maven("https://maven.enginehub.org/repo/") // WorldGuard } dependencies { diff --git a/gradle.properties b/gradle.properties index 8953ef1..ffcc776 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ group=com.mineinabyss version=0.11 -idofrontVersion=0.25.24 +idofrontVersion=0.26.0-dev.2 diff --git a/src/main/kotlin/com/mineinabyss/deeperworld/movement/MovementHandler.kt b/src/main/kotlin/com/mineinabyss/deeperworld/movement/MovementHandler.kt index 194fc48..f6681ac 100644 --- a/src/main/kotlin/com/mineinabyss/deeperworld/movement/MovementHandler.kt +++ b/src/main/kotlin/com/mineinabyss/deeperworld/movement/MovementHandler.kt @@ -42,7 +42,7 @@ object MovementHandler { ) { damage(0.01) //give a damage effect health = (health - deeperWorld.config.damageOutsideSections / 10) - .coerceIn(0.0, getAttribute(Attribute.GENERIC_MAX_HEALTH)?.value) //ignores armor + .coerceIn(0.0, getAttribute(Attribute.MAX_HEALTH)?.value) //ignores armor showTitle( Title.title( "You are not in a managed section".miniMsg().color(NamedTextColor.RED),