Use slightly different YAML loading, try fix an issue on a Chinese user's server

This commit is contained in:
libraryaddict
2020-04-17 04:41:42 +12:00
parent a309b24004
commit 00507a1194
4 changed files with 25 additions and 11 deletions

View File

@@ -128,7 +128,7 @@ public class LibsPremium {
}
// Fetch the plugin.yml from the jar file
YamlConfiguration config = ReflectionManager.getPluginYaml(cl);
YamlConfiguration config = ReflectionManager.getPluginYAML(cl);
// No checks for null config as the correct error will be thrown on access
Boolean premium;