mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-12-06 11:17:20 +00:00
[TASK] Only creating custom home directory when client is secure
This commit is contained in:
1 parent
9f63d1df68
commit
d8d82f05bc
1 file changed
+3
-1
@@ -45,7 +45,9 @@ public class Directories {
|
||||
Core.verbose("Directories cached.");
|
||||
|
||||
clearCache(259200);
|
||||
setHomeDirectory();
|
||||
if (Core.isSecure()) {
|
||||
setHomeDirectory();
|
||||
}
|
||||
}
|
||||
|
||||
private static void setHomeDirectory(){
|
||||
|
||||
Reference in new issue
Block a user