mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
[TASK] Redid the caching system
This commit is contained in:
@@ -112,14 +112,7 @@ public final class Landing {
|
||||
Directories.setServerCompiledDirectory(new File(args[++i]));
|
||||
break;
|
||||
case "-clearcache":
|
||||
File[] cache = Directories.getCachePath().listFiles();
|
||||
if (cache != null) {
|
||||
for (File f : cache) {
|
||||
if (f.exists() && f.canWrite()) {
|
||||
f.delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
Directories.clearCache();
|
||||
break;
|
||||
case "-mac":
|
||||
byte[] mac = new byte[6];
|
||||
|
||||
Reference in New Issue
Block a user