Skip to content

Commit

Permalink
Fixed typo with new method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ybrin committed Oct 9, 2015
1 parent b0b1aa4 commit d4b0e3e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit d4b0e3e

Please sign in to comment.