diff --git a/pom.xml b/pom.xml index 162d207..ac4f15d 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ net.t2code Alias - 1.0.10 + 1.0.11 jar T2C-Alias diff --git a/src/main/java/net/t2code/alias/Spigot/config/config/SelectAlias.java b/src/main/java/net/t2code/alias/Spigot/config/config/SelectAlias.java index 6506dd3..c731365 100644 --- a/src/main/java/net/t2code/alias/Spigot/config/config/SelectAlias.java +++ b/src/main/java/net/t2code/alias/Spigot/config/config/SelectAlias.java @@ -18,7 +18,7 @@ public class SelectAlias { File f = new File(Main.getPath() + "/Alias/"); File[] fileArray = f.listFiles(); for (File config_gui : fileArray) { - if (config_gui.getName().equals("X_aliasDeclaration_X.yml")) return; + if (config_gui.getName().equals("X_aliasDeclaration_X.yml")) continue; String sub = config_gui.getName().substring(config_gui.getName().length() - 4); if (sub.equals(".yml")) { Main.allAliases.add(config_gui.getName().replace(".yml", ""));