From 2450c177f21334c264ff75c2e26a659a4f2f64da Mon Sep 17 00:00:00 2001 From: Sunstrike Date: Sat, 19 Oct 2013 20:40:00 +0100 Subject: [PATCH] Apply Vazkii's fix for a certain GUI mod. --- src/tconstruct/client/TClientEvents.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tconstruct/client/TClientEvents.java b/src/tconstruct/client/TClientEvents.java index 4e159114..700c5eb6 100644 --- a/src/tconstruct/client/TClientEvents.java +++ b/src/tconstruct/client/TClientEvents.java @@ -1,5 +1,6 @@ package tconstruct.client; +import cpw.mods.fml.common.Loader; import cpw.mods.fml.relauncher.*; import java.util.Random; import net.minecraft.block.Block; @@ -79,7 +80,7 @@ public class TClientEvents @ForgeSubscribe public void renderHealthbar (RenderGameOverlayEvent.Pre event) { - if (event.type == ElementType.HEALTH) + if (event.type == ElementType.HEALTH && !Loader.isModLoaded("tukmc_Vz")) // Loader check to avoid conflicting with a GUI mod (thanks Vazkii!) { event.setCanceled(true); updateCounter++;