Bugfix
This commit is contained in:
parent
e189722366
commit
61f8a713f3
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>net.t2code</groupId>
|
<groupId>net.t2code</groupId>
|
||||||
<artifactId>Alias</artifactId>
|
<artifactId>Alias</artifactId>
|
||||||
<version>1.0.10</version>
|
<version>1.0.11</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>T2C-Alias</name>
|
<name>T2C-Alias</name>
|
||||||
|
@ -18,7 +18,7 @@ public class SelectAlias {
|
|||||||
File f = new File(Main.getPath() + "/Alias/");
|
File f = new File(Main.getPath() + "/Alias/");
|
||||||
File[] fileArray = f.listFiles();
|
File[] fileArray = f.listFiles();
|
||||||
for (File config_gui : fileArray) {
|
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);
|
String sub = config_gui.getName().substring(config_gui.getName().length() - 4);
|
||||||
if (sub.equals(".yml")) {
|
if (sub.equals(".yml")) {
|
||||||
Main.allAliases.add(config_gui.getName().replace(".yml", ""));
|
Main.allAliases.add(config_gui.getName().replace(".yml", ""));
|
||||||
|
Loading…
Reference in New Issue
Block a user