From 10ec9b17d9c62e2f3a3007f1e5c65408f066ca01 Mon Sep 17 00:00:00 2001 From: HappyPikachu Date: Thu, 19 Feb 2015 13:24:22 -0500 Subject: [PATCH] Update current language file --- src/main/java/me/blackvein/quests/util/Lang.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/blackvein/quests/util/Lang.java b/src/main/java/me/blackvein/quests/util/Lang.java index 1e9f626b3..0a738ee53 100644 --- a/src/main/java/me/blackvein/quests/util/Lang.java +++ b/src/main/java/me/blackvein/quests/util/Lang.java @@ -1142,7 +1142,7 @@ public class Lang { if (newLangs) { - File file = new File(plugin.getDataFolder(), "/lang/en_new.yml"); + File file = new File(plugin.getDataFolder(), "/lang/" + lang + "_new.yml"); if (file.exists()) { file.delete(); } @@ -1165,7 +1165,7 @@ public class Lang { return; } - plugin.getLogger().info("There are new language phrases with the current version. They have been stored in /lang/en_new.yml"); + plugin.getLogger().info("There are new language phrases with the current version. They have been stored in /lang/"+ lang + "_new.yml"); }