Skip to content

Commit

Permalink
Language file patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Sv3ks committed Apr 30, 2023
1 parent 0a940fd commit d53a7b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.sv3ks</groupId>
<artifactId>HyperCurrencies</artifactId>
<version>1.6</version>
<version>1.6.1</version>
<packaging>jar</packaging>

<name>HyperCurrencies</name>
Expand Down
7 changes: 4 additions & 3 deletions src/main/java/me/sv3ks/hypercurrencies/HyperCurrencies.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin;

import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
Expand Down Expand Up @@ -76,9 +77,9 @@ public void onEnable() {
if (getServer().getPluginManager().getPlugin("PlaceholderAPI")!=null) new PlaceholderAPIHook().register();

// Save default languages
saveResource("/lang/lang_en-us.yml", false);
saveResource("/lang/lang_da-dk.yml", false);
saveResource("/lang/lang_zh-cn.yml", false);
saveResource(String.format("lang%slang_en-us.yml", File.separator), false);
saveResource(String.format("lang%slang_da-dk.yml", File.separator), false);
saveResource(String.format("lang%slang_zh-cn.yml", File.separator), false);

// Load bStats Metrics
metrics = new Metrics(this,18221);
Expand Down

0 comments on commit d53a7b4

Please sign in to comment.