SMAPI-Android-Installer icon indicating copy to clipboard operation
SMAPI-Android-Installer copied to clipboard

Space after coma breaks (at least) content patcher mods

Open Nayzore opened this issue 3 years ago • 2 comments

Deleting spaces after commas in content file fixes the issue, but only for one run. The config file generates with spaces every time you launch the game and in order for mod to work you have to delete the config file before every launch

Here's the fixed example part of code. All loads properly with it

"ForageRedesign": {
      "AllowValues": "Cave Carrot,Common Mushroom,Coral,Crystal Fruit,Fiddlehead Fern,Hazelnut,Holly,Leek,Magma Cap,False Magma Cap,Purple Mushroom,Salmonberry,Sap,Snow Yam,Spice Berry,Spring Onion,Sweet Pea,Wild Horseradish,Wild Plum,Winter Root",
      "AllowMultiple": true,
      "AllowBlank": true,
      "Default": "Cave Carrot,Common Mushroom,Coral,Crystal Fruit,Fiddlehead Fern,Hazelnut,Holly,Leek,Magma Cap,False Magma Cap,Purple Mushroom,Salmonberry,Sap,Snow Yam,Spice Berry,Spring Onion,Sweet Pea,Wild Horseradish,Wild Plum,Winter Root"
    }

Nayzore avatar Jul 11 '23 13:07 Nayzore

Please request info if I missed something, I'm open to that. Not a programmer so I don't really know what to include

Nayzore avatar Jul 11 '23 16:07 Nayzore

Fixed by updating smapi

Nayzore avatar Jul 11 '23 21:07 Nayzore