diff options
author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2024-05-02 09:27:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 09:27:05 +0200 |
commit | 9b145a1c80bf2edfb378c7613985f58cd6ec2e92 (patch) | |
tree | 307abc2075d4da8596b8446b0c01f50131c0c649 /src/main/java/at | |
parent | b748f088328deaaf91f35ade7bd2fcb094c20d0d (diff) | |
download | skyhanni-9b145a1c80bf2edfb378c7613985f58cd6ec2e92.tar.gz skyhanni-9b145a1c80bf2edfb378c7613985f58cd6ec2e92.tar.bz2 skyhanni-9b145a1c80bf2edfb378c7613985f58cd6ec2e92.zip |
Fix: Pest render priority (#1618)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt index a88310e37..272fa4ebc 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleLine.kt @@ -15,6 +15,7 @@ import at.hannibal2.skyhanni.utils.RenderUtils.draw3DLine_nea import at.hannibal2.skyhanni.utils.RenderUtils.drawDynamicText import at.hannibal2.skyhanni.utils.SimpleTimeMark import net.minecraft.util.EnumParticleTypes +import net.minecraftforge.fml.common.eventhandler.EventPriority import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import kotlin.time.Duration.Companion.seconds @@ -72,7 +73,7 @@ class PestParticleLine { return newList } - @SubscribeEvent + @SubscribeEvent(priority = EventPriority.LOW) fun onRenderWorld(event: LorenzRenderWorldEvent) { if (!isEnabled()) return // TODO time in config |