Fixed crashing when ic2 is not installed
This commit is contained in:
parent
d8e8f45993
commit
f433aa706a
9 changed files with 19 additions and 17 deletions
|
@ -41,7 +41,7 @@ public class ChargeHud
|
|||
|
||||
if (mc.inGameHasFocus || (mc.currentScreen != null && mc.gameSettings.showDebugInfo))
|
||||
{
|
||||
if (ConfigTechReborn.ShowChargeHud)
|
||||
if (ConfigTechReborn.ShowChargeHud && ElectricItem.manager != null)
|
||||
drawChargeHud(event.resolution);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue