diff --git a/build.gradle.kts b/build.gradle.kts index d6332ab5..e5b47b73 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -78,7 +78,7 @@ allprojects { compileOnly("com.ticxo.modelengine:ModelEngine:R4.0.2") compileOnly("com.github.oraxen:oraxen:1.160.0") compileOnly("com.github.LoneDev6:API-ItemsAdder:3.2.5") - compileOnly("com.mineinabyss:geary-papermc:0.24.1") + compileOnly("com.mineinabyss:geary-papermc:0.26.2") compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.1.0-SNAPSHOT") compileOnly("it.unimi.dsi:fastutil:8.5.11") compileOnly("com.github.LeonMangler:SuperVanish:6.2.17") diff --git a/common/src/main/java/com/hibiscusmc/hmccosmetics/hooks/items/HookGeary.java b/common/src/main/java/com/hibiscusmc/hmccosmetics/hooks/items/HookGeary.java index 0cd26e34..7fbb5514 100644 --- a/common/src/main/java/com/hibiscusmc/hmccosmetics/hooks/items/HookGeary.java +++ b/common/src/main/java/com/hibiscusmc/hmccosmetics/hooks/items/HookGeary.java @@ -23,7 +23,7 @@ public class HookGeary extends Hook { @Override public void load() { - if (!enabled) GearyModuleKt.getGeary().getPipeline().intercept(GearyPhase.INIT_ENTITIES, () -> { + if (!enabled) GearyModuleKt.getGeary().getPipeline().runOnOrAfter(GearyPhase.INIT_ENTITIES, () -> { enabled = true; HMCCosmeticsPlugin.setup(); return null;