Bastian / bstats-metrics

The different bStats Metrics classes
https://bStats.org
MIT License
99 stars 114 forks source link

Use Files api to create config #88

Closed chrisrnj closed 2 years ago

chrisrnj commented 3 years ago

Using Files class to create configuration using Path, so you don't have to convert it to File using Path#toFile

Bastian commented 2 years ago

Thank you for the PR!

However, the single-file branch is auto-generated and changes to it get overwritten with every new bStats version. PRs should target the master branch: https://github.com/Bastian/bStats-Metrics/blob/master/sponge/src/main/java/org/bstats/sponge/Metrics.java