Fix fancy render config not working
This commit is contained in:
parent
7c9d267499
commit
8e6fcd1b47
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ import mekanism.api.Coord4D;
|
||||||
import mekanism.api.energy.IStrictEnergyAcceptor;
|
import mekanism.api.energy.IStrictEnergyAcceptor;
|
||||||
import mekanism.api.transmitters.IGridTransmitter;
|
import mekanism.api.transmitters.IGridTransmitter;
|
||||||
import mekanism.api.transmitters.TransmissionType;
|
import mekanism.api.transmitters.TransmissionType;
|
||||||
|
import mekanism.client.MekanismClient;
|
||||||
import mekanism.client.render.RenderPartTransmitter;
|
import mekanism.client.render.RenderPartTransmitter;
|
||||||
import mekanism.common.EnergyNetwork;
|
import mekanism.common.EnergyNetwork;
|
||||||
import mekanism.common.Mekanism;
|
import mekanism.common.Mekanism;
|
||||||
|
@ -187,7 +188,7 @@ public class PartUniversalCable extends PartTransmitter<EnergyNetwork> implement
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderDynamic(Vector3 pos, float frame, int pass)
|
public void renderDynamic(Vector3 pos, float frame, int pass)
|
||||||
{
|
{
|
||||||
if(pass == 1)
|
if(pass == 1 && MekanismClient.fancyUniversalCableRender)
|
||||||
{
|
{
|
||||||
RenderPartTransmitter.getInstance().renderContents(this, pos);
|
RenderPartTransmitter.getInstance().renderContents(this, pos);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue