diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-09 20:49:45 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-09 20:49:45 +0100 |
commit | dff3f0f286c0999047fc55ab41ad13a46a4b7ec1 (patch) | |
tree | ddd823562c21ee767cb00c9562eb692b569b28a7 /src/main/java/at/hannibal2 | |
parent | 08ddc931109bea80b81f2caabc430bd2dc54b60c (diff) | |
parent | 070f5f5b99d5a64a4fc706a41aa0be61b7c81677 (diff) | |
download | skyhanni-dff3f0f286c0999047fc55ab41ad13a46a4b7ec1.tar.gz skyhanni-dff3f0f286c0999047fc55ab41ad13a46a4b7ec1.tar.bz2 skyhanni-dff3f0f286c0999047fc55ab41ad13a46a4b7ec1.zip |
Merge remote-tracking branch 'origin/beta' into beta
Diffstat (limited to 'src/main/java/at/hannibal2')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/TitleManager.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/TitleManager.kt b/src/main/java/at/hannibal2/skyhanni/data/TitleManager.kt index 5b8bbd2b8..3de2298a6 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/TitleManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/TitleManager.kt @@ -8,6 +8,7 @@ import io.github.moulberry.moulconfig.internal.TextRenderUtils import net.minecraft.client.Minecraft import net.minecraft.client.gui.ScaledResolution import net.minecraft.client.renderer.GlStateManager +import net.minecraftforge.fml.common.eventhandler.EventPriority import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import kotlin.time.Duration import kotlin.time.Duration.Companion.seconds @@ -47,7 +48,7 @@ class TitleManager { endTime = SimpleTimeMark.farPast() } - @SubscribeEvent + @SubscribeEvent(priority = EventPriority.LOWEST) fun onRenderOverlay(event: GuiRenderEvent.GuiOverlayRenderEvent) { if (endTime.isInPast()) return |