mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 10:36:09 +01:00
Add debug info for #1812
This commit is contained in:
parent
1e91a8568a
commit
5c45682cf7
@ -173,6 +173,10 @@ public class Lang {
|
||||
plugin.getLogger()
|
||||
.info("For help, visit https://github.com/PikaMug/Quests/wiki/Casual-%E2%80%90-Translations");
|
||||
iso = "en-US";
|
||||
plugin.getLogger().info("CodeSource: " + plugin.getClass().getProtectionDomain().getCodeSource()
|
||||
.toString());
|
||||
plugin.getLogger().info("LocationPath: " + plugin.getClass().getProtectionDomain().getCodeSource()
|
||||
.getLocation().getPath());
|
||||
final FileConfiguration config = YamlConfiguration.loadConfiguration(new InputStreamReader(Objects
|
||||
.requireNonNull(plugin.getResource("strings.yml")), StandardCharsets.UTF_8));
|
||||
for (final String key : config.getKeys(false)) {
|
||||
|
Loading…
Reference in New Issue
Block a user