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(); }