Bugfix
This commit is contained in:
parent
e189722366
commit
61f8a713f3
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>net.t2code</groupId>
|
||||
<artifactId>Alias</artifactId>
|
||||
<version>1.0.10</version>
|
||||
<version>1.0.11</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>T2C-Alias</name>
|
||||
|
@ -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", ""));
|
||||
|
Loading…
Reference in New Issue
Block a user