From d4b0e3e27cc6be4fcdcc8e3f07ae8fc9f8f547ae Mon Sep 17 00:00:00 2001 From: Ybrin Date: Fri, 9 Oct 2015 18:46:43 +0200 Subject: [PATCH] Fixed typo with new method. --- .../java/org/kwstudios/play/ragemode/loader/PluginLoader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/kwstudios/play/ragemode/loader/PluginLoader.java b/src/main/java/org/kwstudios/play/ragemode/loader/PluginLoader.java index c406fc23..ae50bd50 100644 --- a/src/main/java/org/kwstudios/play/ragemode/loader/PluginLoader.java +++ b/src/main/java/org/kwstudios/play/ragemode/loader/PluginLoader.java @@ -307,13 +307,13 @@ public void loadInGameCommands() { } private void loadDefaultLocaleFiles(String name) { - InputStream input = getClass().getResourceAsStream("/locale/name"); + InputStream input = getClass().getResourceAsStream("/locale/" + name); try { File localeFolder = new File(getDataFolder(), "locale"); if (!localeFolder.exists()) { localeFolder.mkdirs(); } - File frFile = new File(localeFolder, "name"); + File frFile = new File(localeFolder, name); if (frFile.exists()) { frFile.delete(); }