Don't render extra health when rpgHUD is present

This commit is contained in:
Bernhard Bonigl committed 2014-09-23 22:36:44 +02:00
1 parent ec02954d42
commit cbdbabd1a8
1 file changed
+3
@@ -202,6 +202,9 @@ public class ArmorProxyClient extends ArmorProxyCommon
@SubscribeEvent
public void renderHealthbar (RenderGameOverlayEvent.Pre event)
{
if(Loader.isModLoaded("rpghud")) // uses different display, displays health correctly by itself.
return;
if (!Loader.isModLoaded("tukmc_Vz") || Loader.isModLoaded("borderlands"))// Loader check to avoid conflicting
// with a GUI mod (thanks Vazkii!)
{