mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 12:19:46 +00:00
Fixed Azulejo blocks pointing to the wrong lexicon entry.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user