SlicksGirl
Refugee
so i am getting this error
and my code looks like this
I copied and pasted the xpath code over from the items one for this mod and the items one has no errors. I've also ran the code through a validator, used ccleaner on my computer, validated the steam files, and started a brand new game. It still says the xpath file isnt coded. any ideas why?
Code:
2019-03-25T23:13:02 62.173 ERR XML loader: Patching 'recipes.xml' from mod 'DW Mods - Dyes Mod' failed
2019-03-25T23:13:02 62.174 EXC XML.Patch (/append/recipe): Patch element does not have an 'xpath' attribute
Exception: XML.Patch (/append/recipe): Patch element does not have an 'xpath' attribute
at XmlPatcher.singlePatch (.XmlFile _targetFile, System.Xml.XmlElement _patchElement, System.String _patchName) [0x00000] in <filename unknown>:0
at XmlPatcher.PatchXml (.XmlFile _xmlFile, .XmlFile _patchXml, System.String _patchName) [0x00000] in <filename unknown>:0
at XmlPatcher.LoadAndPatchConfig (System.String _configName) [0x00000] in <filename unknown>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
XmlPatcher:LoadAndPatchConfig(String)
<loadSingleXml>c__Iterator1:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<!--recipes-->
<append xpath="/recipes">
blah blah blah
</append>