mirror of
https://github.com/GTNewHorizons/waila.git
synced 2026-11-28 15:56:20 +00:00
fix loader check (#45)
Co-authored-by: Martin Robertz <[email protected]> Co-authored-by: SuperSoupr <[email protected]>
This commit is contained in:
1 file changed
+1
-1
@@ -35,7 +35,7 @@ public class TTRenderFluidBar implements IWailaVariableWidthTooltipRenderer {
|
||||
private static final int height = 12;
|
||||
|
||||
public TTRenderFluidBar() {
|
||||
if (Loader.isModLoaded("gregtech")) {
|
||||
if (Loader.isModLoaded("gregtech_nh")) {
|
||||
bindColor = (fluidName) -> {
|
||||
FluidStack aCheck = FluidUtils.getWildcardFluidStack(fluidName, 1000);
|
||||
if (aCheck != null && (aCheck.getFluid() instanceof FluidGT6 || aCheck.getFluid() instanceof GTFluid)) {
|
||||
|
||||
Reference in new issue
Block a user