Lucas Alexander Posted February 5, 2025 Report Posted February 5, 2025 Ever since the 1.20 update, a patch in my mod has started giving me an error message in the logs. It doesn't appear to effect how the patch actually works - it still does what I want it to do - but for the life of me, I can't figure out what the error means or what's causing it. Here's the patch: [ { file: "game:blocktypes/plant/leaves/normal", op: "addmerge", path: "/drops/0", value: { type: "block", code: "game:leaves-placed-{wood}", quantity: { avg: 1 }, tool: "saw", "LastDrop": true } } ] And here's the error: 4.2.2025 18:58:43 [Error] Patch 0 (target: game:blocktypes/plant/leaves/normal.json) in game:patches/survival-blocktypes-plant-leaves-normal.json failed because supplied path /drops/0/quantityByType/dropModbyStat is invalid: The json path /drops/0/quantityByType/dropModbyStat was not found. Could traverse until /drops/0, but then 'quantityByType' does not exist. Full json at this path: { "type": "block", "code": "game:leaves-placed-{wood}", "tool": "saw", "LastDrop": true } I tried putting in other patches to leaves and they worked without giving me an error. I have a similar patch to branchy leaves that doesn't give me an error. This wasn't giving me an error in the previous update. I just can't figure out what's wrong.
xXx_Ape_xXx Posted February 5, 2025 Report Posted February 5, 2025 (edited) That error seem to not come from that patch. Do you have any other mods/patches that targets the same file? Several versions of the same mod in the mods directory? Other mods that affects the leaves? Edited February 5, 2025 by xXx_Ape_xXx
Lucas Alexander Posted February 6, 2025 Author Report Posted February 6, 2025 @xXx_Ape_xXx Upon further investigation, it seems to be some sort of conflict with "The Remnants" mod. Thanks, I never would have thought a small patch like this could be incompatible with another mod.
Recommended Posts