Skip to content

Commit

Permalink
Fixed flammabilty of bricks and fancy bricks
Browse files Browse the repository at this point in the history
  • Loading branch information
Glassmaker committed Jul 14, 2014
1 parent ce7852b commit ad79a80
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/tconstruct/tools/blocks/MultiBrick.java
Expand Up @@ -151,4 +151,15 @@ public void registerBlockIcons (IIconRegister iconRegister)
this.icons[i] = iconRegister.registerIcon("tinker:bricks/" + textureNames[i]);
}
}

@Override
public boolean isNormalCube(IBlockAccess world, int x, int y, int z)
{
int meta = world.getBlockMetadata(x, y, z);
if (meta != 8)
{
return true;
}
return super.isNormalCube(world, x, y, z);
}
}
11 changes: 11 additions & 0 deletions src/main/java/tconstruct/tools/blocks/MultiBrickFancy.java
Expand Up @@ -156,4 +156,15 @@ public void registerBlockIcons (IIconRegister iconRegister)
this.icons[i] = iconRegister.registerIcon("tinker:bricks/" + textureNames[i]);
}
}

@Override
public boolean isNormalCube(IBlockAccess world, int x, int y, int z)
{
int meta = world.getBlockMetadata(x, y, z);
if (meta != 8)
{
return true;
}
return super.isNormalCube(world, x, y, z);
}
}

0 comments on commit ad79a80

Please sign in to comment.