Typo renderCoveredConection
This commit is contained in:
@@ -559,7 +559,7 @@ public class PartCable extends AEBasePart implements IPartCable
|
|||||||
}
|
}
|
||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderCoveredConection(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer, int channels, ForgeDirection of)
|
public void renderCoveredConnection(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer, int channels, ForgeDirection of)
|
||||||
{
|
{
|
||||||
TileEntity te = this.tile.getWorldObj().getTileEntity( x + of.offsetX, y + of.offsetY, z + of.offsetZ );
|
TileEntity te = this.tile.getWorldObj().getTileEntity( x + of.offsetX, y + of.offsetY, z + of.offsetZ );
|
||||||
IPartHost ccph = te instanceof IPartHost ? (IPartHost) te : null;
|
IPartHost ccph = te instanceof IPartHost ? (IPartHost) te : null;
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ public class PartCableCovered extends PartCable
|
|||||||
{
|
{
|
||||||
for (ForgeDirection of : connections)
|
for (ForgeDirection of : connections)
|
||||||
{
|
{
|
||||||
renderCoveredConection( x, y, z, rh, renderer, channelsOnSide[of.ordinal()], of );
|
renderCoveredConnection( x, y, z, rh, renderer, channelsOnSide[of.ordinal()], of );
|
||||||
}
|
}
|
||||||
|
|
||||||
rh.setTexture( getTexture( getCableColor() ) );
|
rh.setTexture( getTexture( getCableColor() ) );
|
||||||
|
|||||||
@@ -341,7 +341,7 @@ public class PartDenseCable extends PartCable
|
|||||||
else if ( isSmart( of ) )
|
else if ( isSmart( of ) )
|
||||||
renderSmartConection( x, y, z, rh, renderer, channelsOnSide[of.ordinal()], of );
|
renderSmartConection( x, y, z, rh, renderer, channelsOnSide[of.ordinal()], of );
|
||||||
else
|
else
|
||||||
renderCoveredConection( x, y, z, rh, renderer, channelsOnSide[of.ordinal()], of );
|
renderCoveredConnection( x, y, z, rh, renderer, channelsOnSide[of.ordinal()], of );
|
||||||
}
|
}
|
||||||
|
|
||||||
rh.setTexture( getDenseTexture( getCableColor() ) );
|
rh.setTexture( getDenseTexture( getCableColor() ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user