Skip to content

Commit

Permalink
Small tweaks to clear panes
Browse files Browse the repository at this point in the history
  • Loading branch information
fuj1n committed Sep 17, 2013
1 parent a945918 commit be73c39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Binary file modified resources/assets/tinker/textures/blocks/glass/clear/glass_side.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions src/tconstruct/blocks/GlassPaneConnected.java
Original file line number Diff line number Diff line change
Expand Up @@ -444,13 +444,11 @@ public boolean canPaneConnectTo(IBlockAccess access, int x, int y, int z, ForgeD

@Override
public boolean shouldSideBeRendered(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5) {
int i1 = par1IBlockAccess.getBlockId(par2, par3, par4);
if(par5 == 0 || par5 == 1){
return i1 == this.blockID ? false : super.shouldSideBeRendered(par1IBlockAccess, par2, par3, par4, par5);
return par1IBlockAccess.getBlockId(par2, par3, par4) != this.blockID;
}else{
return true;
}
// return true;
}

}

0 comments on commit be73c39

Please sign in to comment.