Fix Mimic render ignoring meta (#965)
Also re-implements Waila handler correctly
This commit is contained in:
parent
3956c9f7dd
commit
1f31268669
3 changed files with 12 additions and 4 deletions
|
@ -168,7 +168,7 @@ public class BlockMimic extends BlockEnumContainer<EnumMimic> implements IVarian
|
|||
if (stack != null && stack.getItem() instanceof ItemBlock)
|
||||
{
|
||||
Block block = ((ItemBlock) stack.getItem()).getBlock();
|
||||
IBlockState mimicState = block.getStateFromMeta(mimic.metaOfReplacedBlock);
|
||||
IBlockState mimicState = block.getStateFromMeta(stack.getItemDamage());
|
||||
if (block != this)
|
||||
{
|
||||
if (block.getRenderType(mimicState) == EnumBlockRenderType.ENTITYBLOCK_ANIMATED)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue