Move MapleCashCosmeticsChecker to main module

This commit is contained in:
P0nk
2021-07-10 19:20:25 +02:00
parent fdd2ef7b3a
commit da66e7614d
27 changed files with 220 additions and 565 deletions

View File

@@ -21,15 +21,15 @@ public enum WZFiles {
private final String fileName;
WZFiles(String fileName) {
this.fileName = fileName;
WZFiles(String name) {
this.fileName = name + ".wz";
}
public File getFile() {
return new File(getFilePath());
return new File(DIRECTORY, fileName);
}
public String getFilePath() {
return String.format("%s/%s.wz", DIRECTORY, fileName);
return getFile().getPath();
}
}