Quote:
Originally Posted by geek1011
Can you post the code for "Increase TOC level indentation"? I think you did something wrong there.
And also, that error message shouldn't even be possible. I'm really interested in what allowed (*yaml.Node).DecodeStrict to work on a *kobopatch.Instruction, but decode to a type which isn't either a property or a *kobopatch.PatchableInstruction (which is verified in the unit tests...). Edit: there is one way, I think, which is if you somehow made an instruction null ( https://yaml.org/type/null.html), but I don't see how you'd do that by accident...
|
How embarassing!


I changed the "No" to a "Yes". But then I saw the next patch "Increase TOC level indentation and fix extra indentation bug", and enabled that patch. I then went back to the patch in question and control-backspaced the word "Yes" and forgot to write the word No.
Code:
Increase TOC level indentation:
- Enabled:
- PatchGroup: TOC Indentation
- Description: |
The space indented Table of Contents levels are quite hard to see, as the
difference is almost too small to easily notice.
# Shift by 2 instead of 1 (multiply level by 4 instead of 2).
- ReplaceBytes: {Offset: 0x946F96, FindH: 42 00, ReplaceH: 82 00}