mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-25 04:04:25 +00:00
Fix strange bug
This commit is contained in:
1 parent
76bf0b5fdf
commit
cdd42d60e3
11 files changed
+36
-26
No files matched your search
@@ -18,8 +18,8 @@ public class HttpTextureUtil {
|
||||
LOCAL_MARK="(LOCAL)",
|
||||
LOCAL_LEGACY_MARK="(LOCAL_LEGACY)";
|
||||
public static File defaultCacheDir;
|
||||
public static void initDefaultCacheDir(){
|
||||
if(CustomSkinLoader.config.enableCacheAutoClean && !CustomSkinLoader.config.enableLocalProfileCache && defaultCacheDir!=null){
|
||||
public static void cleanCacheDir(){
|
||||
if(defaultCacheDir!=null){
|
||||
defaultCacheDir.delete();
|
||||
defaultCacheDir.mkdirs();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user