[Idea]: Folia support for OpenInv #196
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2011-2021 lishid. All rights reserved.
|
* Copyright (C) 2011-2022 lishid. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -56,7 +56,7 @@ public class LanguageManager {
|
|||||||
return loaded;
|
return loaded;
|
||||||
}
|
}
|
||||||
|
|
||||||
InputStream resourceStream = plugin.getResource(locale + ".yml");
|
InputStream resourceStream = plugin.getResource("locale/" + locale + ".yml");
|
||||||
YamlConfiguration localeConfigDefaults;
|
YamlConfiguration localeConfigDefaults;
|
||||||
if (resourceStream == null) {
|
if (resourceStream == null) {
|
||||||
localeConfigDefaults = new YamlConfiguration();
|
localeConfigDefaults = new YamlConfiguration();
|
||||||
|
Reference in New Issue
Block a user