Skip to content

Commit

Permalink
Clear glass + Meta 15 = no-connect
Browse files Browse the repository at this point in the history
  • Loading branch information
fuj1n committed Sep 29, 2013
1 parent e79846c commit 347bc37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tconstruct/blocks/GlassBlockConnected.java
Expand Up @@ -67,7 +67,7 @@ public boolean shouldConnectToBlock (IBlockAccess par1IBlockAccess, int par2, in
@Override
public Icon getBlockTexture (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
{
return getConnectedBlockTexture(par1IBlockAccess, par2, par3, par4, par5, icons);
return par1IBlockAccess.getBlockMetadata(par2, par3, par4) == 15 ? icons[0] : getConnectedBlockTexture(par1IBlockAccess, par2, par3, par4, par5, icons);
}

public Icon getConnectedBlockTexture (IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5, Icon[] icons)
Expand Down

0 comments on commit 347bc37

Please sign in to comment.