Typo renderDenseConection
This commit is contained in:
@@ -224,7 +224,7 @@ public class PartDenseCable extends PartCable
|
|||||||
}
|
}
|
||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
@SideOnly(Side.CLIENT)
|
||||||
public void renderDenseConection(int x, int y, int z, IPartRenderHelper rh, RenderBlocks renderer, int channels, ForgeDirection of)
|
public void renderDenseConnection(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;
|
||||||
@@ -337,7 +337,7 @@ public class PartDenseCable extends PartCable
|
|||||||
for (ForgeDirection of : connections)
|
for (ForgeDirection of : connections)
|
||||||
{
|
{
|
||||||
if ( isDense( of ) )
|
if ( isDense( of ) )
|
||||||
renderDenseConection( x, y, z, rh, renderer, channelsOnSide[of.ordinal()], of );
|
renderDenseConnection( x, y, z, rh, renderer, channelsOnSide[of.ordinal()], of );
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user