LunaChat v2.0.0 : Fixed issue #21.
このコミットが含まれているのは:
1 親
b4ef7c0733
コミット
1ce3ec5e64
7ファイル変更
+175
-7
検索条件に一致するファイルはありません
@@ -37,7 +37,7 @@ public class Resources {
|
||||
|
||||
if ( !file.exists() ) {
|
||||
Utility.copyFileFromJar(LunaChat.getPluginJarFile(),
|
||||
file, "messages.yml", false);
|
||||
file, FILE_NAME, false);
|
||||
}
|
||||
|
||||
defaultMessages = loadDefaultMessages();
|
||||
@@ -68,7 +68,7 @@ public class Resources {
|
||||
JarFile jarFile = null;
|
||||
try {
|
||||
jarFile = new JarFile(LunaChat.getPluginJarFile());
|
||||
ZipEntry zipEntry = jarFile.getEntry("messages.yml");
|
||||
ZipEntry zipEntry = jarFile.getEntry(FILE_NAME);
|
||||
InputStream inputStream = jarFile.getInputStream(zipEntry);
|
||||
BufferedReader reader =
|
||||
new BufferedReader(new InputStreamReader(inputStream, "UTF-8"));
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする