Merge pull request #4128 from thommy101/issue-3954

This commit is contained in:
Aidan authored and GitHub committed 2017-01-12 12:07:09 -05:00
commit 0344c4be76
1 file changed
+2 -2
@@ -38,13 +38,13 @@ public class BlockPlasticFence extends BlockFence
@Override
public IBlockState getStateFromMeta(int meta)
{
return this.getDefaultState().withProperty(colorProperty, EnumDyeColor.byMetadata(meta));
return this.getDefaultState().withProperty(colorProperty, EnumDyeColor.byDyeDamage(meta));
}
@Override
public int getMetaFromState(IBlockState state)
{
return state.getValue(colorProperty).getMetadata();
return state.getValue(colorProperty).getDyeDamage();
}
@Override