mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-24 03:05:17 +01:00
fix cache folder not removed
This commit is contained in:
parent
4b67cf961c
commit
5247b5aa2c
@ -209,7 +209,7 @@ public class JsonCache {
|
|||||||
} catch (Exception | Error e) {
|
} catch (Exception | Error e) {
|
||||||
path = player.getName().toLowerCase();
|
path = player.getName().toLowerCase();
|
||||||
}
|
}
|
||||||
File file = new File(cacheDir, path + File.separator + "cache.json");
|
File file = new File(cacheDir, path);
|
||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
Utils.purgeDirectory(file);
|
Utils.purgeDirectory(file);
|
||||||
if (!file.delete()) {
|
if (!file.delete()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user