From 5832266ab18e9d490bf41de1f26e7fa420f483ce Mon Sep 17 00:00:00 2001 From: Yang Seong Mo Date: Wed, 11 Dec 2024 17:24:17 +0900 Subject: [PATCH] 3.7.2 --- build.gradle.kts | 6 +++--- dist/src/main/resources/text.vsh | 2 +- settings.gradle.kts | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 619899a..55822dd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -79,8 +79,8 @@ val dist = getApiDependencyProject("dist").spigot() .dependency("io.github.arcaneplugins:levelledmobs-plugin:4.0.3.1") .dependency("me.clip:placeholderapi:2.11.6") .dependency("com.alessiodp.parties:parties-bukkit:3.2.16") - .dependency("io.github.toxicity188:BetterHud-standard-api:1.10") - .dependency("io.github.toxicity188:BetterHud-bukkit-api:1.10") + .dependency("io.github.toxicity188:BetterHud-standard-api:1.10.1") + .dependency("io.github.toxicity188:BetterHud-bukkit-api:1.10.1") .dependency("net.citizensnpcs:citizens-main:2.0.35-SNAPSHOT") .dependency("com.github.SkriptLang:Skript:2.9.5") .dependency("com.nexomc:nexo:0.4.0") @@ -165,7 +165,7 @@ tasks { version("1.21.1") //TODO set this to 'minecraft' when other plugins support the latest version. pluginJars(fileTree("plugins")) downloadPlugins { - modrinth("betterhud2", "DrmW1PRU") + hangar("BetterHud", "1.10.1") hangar("PlaceholderAPI", "2.11.6") hangar("Skript", "2.9.5") } diff --git a/dist/src/main/resources/text.vsh b/dist/src/main/resources/text.vsh index a8be900..b77dbe7 100644 --- a/dist/src/main/resources/text.vsh +++ b/dist/src/main/resources/text.vsh @@ -67,7 +67,7 @@ void main() { } else { yaw = atan(location.x, -location.z); } - if (length(Position + ChunkOffset - vec3(ModelViewMat[3])) >= (DISPLAY_HEIGHT / 2)) { + if (length(Position + ChunkOffset - vec3(invModelViewMat[3])) >= (DISPLAY_HEIGHT / 2)) { float alpha = texColor.a; if (alpha < 1) { applyColor = 1; diff --git a/settings.gradle.kts b/settings.gradle.kts index b95be7c..f38e7fd 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,5 +1,5 @@ plugins { - id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0" + id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0" } rootProject.name = "BetterHealthBar"