Typo renderCoveredConection
This commit is contained in:
@@ -559,7 +559,7 @@ public class PartCable extends AEBasePart implements IPartCable
|
||||
}
|
||||
|
||||
@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 );
|
||||
IPartHost ccph = te instanceof IPartHost ? (IPartHost) te : null;
|
||||
|
||||
@@ -195,7 +195,7 @@ public class PartCableCovered extends PartCable
|
||||
{
|
||||
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() ) );
|
||||
|
||||
@@ -341,7 +341,7 @@ public class PartDenseCable extends PartCable
|
||||
else if ( isSmart( of ) )
|
||||
renderSmartConection( x, y, z, rh, renderer, channelsOnSide[of.ordinal()], of );
|
||||
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() ) );
|
||||
|
||||
Reference in New Issue
Block a user