Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New ConfigMode (DEFAULT or PATH_BY_UNDERSCORE) only works when creating a new config file. Not if it already exists. #26

Open
ghost opened this issue Apr 19, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 19, 2016

Hello!

Yamler 2.4.0 is really cool! However, there seems to be a bug in the new ConfigMode feature.

The plugin having issues is BungeeAdminTools. What happens is that on initial run of the plugin (the part where it creates the new, clean config) it works perfectly. But if the file already exists, it ignores ConfigMode.DEFAULT (set by not defining anything else) and acts as though it's using ConfigMode.PATH_BY_UNDERSCORE.

The config file for BAT can be seen here.

I'm working on a fix that uses @Path, but an official patch would be nice 😄.

Let me know if you need more info, or if I'm being a derp and BAT is actually the culprit.

Thanks.

@Kraeutergarten
Copy link

Yes this is really terrible!

@Kraeutergarten
Copy link

Kraeutergarten commented Sep 20, 2016

May you can fix this @TechnicalBro

@Kraeutergarten
Copy link

Pls revert this horrible PR. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant