Fixed Azulejo blocks pointing to the wrong lexicon entry.

This commit is contained in:
Lizbeth Rika committed 2014-07-29 15:20:53 +01:00
1 parent 17891a8c5d
commit 307b800c9b
1 file changed
+2 -1
@@ -87,7 +87,8 @@ public class BlockCustomBrick extends BlockMod implements ILexiconable {
@Override
public LexiconEntry getEntry(World world, int x, int y, int z, EntityPlayer player, ItemStack lexicon) {
return LexiconData.decorativeBlocks;
int meta = world.getBlockMetadata(x, y, z);
return meta >= 4 ? LexiconData.azulejo : LexiconData.decorativeBlocks;
}
}