more fixes

This commit is contained in:
Progwml6 committed 2014-01-01 09:30:55 -05:00
1 parent 0ee7ac1718
commit 2cb0bb34fb
5 files changed
+21 -23

No files matched your search

@@ -1,5 +1,6 @@
package tconstruct.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.util.IIcon;
@@ -32,8 +33,8 @@ public class GlassBlockStained extends TConstructBlock
@SideOnly(Side.CLIENT)
public boolean shouldSideBeRendered (IBlockAccess world, int x, int y, int z, int side)
{
int blockID = world.getBlockId(x, y, z);
return blockID == this.blockID ? false : super.shouldSideBeRendered(world, x, y, z, side);
Block block = world.getBlock(x, y, z);
return block == this ? false : super.shouldSideBeRendered(world, x, y, z, side);
}
@Override