Skip to content

Commit 8222f93

Browse files
committed
feat: 1.21.4 support
1 parent d4d0149 commit 8222f93

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repositories {
1919
maven("https://repo.mineinabyss.com/snapshots")
2020
maven("https://papermc.io/repo/repository/maven-public/") //Paper
2121
maven("https://repo.codemc.org/repository/maven-public/")
22-
maven("https://jitpack.io")
22+
maven("https://maven.enginehub.org/repo/") // WorldGuard
2323
}
2424

2525
dependencies {

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
group=com.mineinabyss
2-
version=0.11
3-
idofrontVersion=0.25.24
2+
version=0.12
3+
idofrontVersion=0.26.0

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[libraries]
2-
minecraft-plugin-blocklocker = "nl.rutgerkok:blocklocker:1.10.4"
2+
minecraft-plugin-blocklocker = "nl.rutgerkok:blocklocker:1.13"

src/main/kotlin/com/mineinabyss/deeperworld/movement/MovementHandler.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ object MovementHandler {
4242
) {
4343
damage(0.01) //give a damage effect
4444
health = (health - deeperWorld.config.damageOutsideSections / 10)
45-
.coerceIn(0.0, getAttribute(Attribute.GENERIC_MAX_HEALTH)?.value) //ignores armor
45+
.coerceIn(0.0, getAttribute(Attribute.MAX_HEALTH)?.value) //ignores armor
4646
showTitle(
4747
Title.title(
4848
"You are not in a managed section".miniMsg().color(NamedTextColor.RED),

0 commit comments

Comments
 (0)