From deeb23c22db63af3ad68c5a47940540a43706886 Mon Sep 17 00:00:00 2001 From: Ressed <26176604+Ressed@users.noreply.github.com> Date: Wed, 14 Oct 2026 22:39:10 +0800 Subject: [PATCH] Set load icon's handler priority lower to wait for other mod's block texture initialized (#63) --- .../microblock/handler/MicroblockEventHandler.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/codechicken/microblock/handler/MicroblockEventHandler.scala b/src/main/scala/codechicken/microblock/handler/MicroblockEventHandler.scala index 4065775..2d3e41d 100644 --- a/src/main/scala/codechicken/microblock/handler/MicroblockEventHandler.scala +++ b/src/main/scala/codechicken/microblock/handler/MicroblockEventHandler.scala @@ -1,6 +1,6 @@ package codechicken.microblock.handler -import cpw.mods.fml.common.eventhandler.SubscribeEvent +import cpw.mods.fml.common.eventhandler.{EventPriority, SubscribeEvent} import cpw.mods.fml.relauncher.SideOnly import cpw.mods.fml.relauncher.Side import net.minecraftforge.client.event.TextureStitchEvent @@ -14,7 +14,7 @@ import cpw.mods.fml.common.LoaderState import net.minecraft.util.MovingObjectPosition.MovingObjectType object MicroblockEventHandler { - @SubscribeEvent + @SubscribeEvent(priority = EventPriority.LOW) @SideOnly(Side.CLIENT) def postTextureStitch(event: TextureStitchEvent.Post) { if (event.map.getTextureType == 0)