Closed HimbeersaftLP closed 12 months ago
PurePerms mistakenly saved the config as YML with a .json extension
@Vecnavium Did that mess in PurePerms :(
Also I'd prefer it if the data wasn't migrated without asking first.
You can set auto-migrator
to false
in config.yml
PurePerms mistakenly saved the config as YML with a .json extension: https://github.com/poggit-orphanage/PurePerms/blob/16e796ca96eb58dd3aa0a6edea0be2ca14688478/src/_64FF00/PurePerms/DataProviders/JsonProvider.php#L86
But the migrator goes by the file extension by using DETECT: https://github.com/IvanCraft623/RankSystem/blob/2ffa5f865daad7e4aa5874242bece7f87dc31103/src/IvanCraft623/RankSystem/migrator/PurePerms.php#L90
Which will of course cause a JSON syntax error exception:
This is what the
himbeersaftlp.json
file contains:Also I'd prefer it if the data wasn't migrated without asking first.