mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-03-16 08:30:03 +01:00
Properly delete both mojang's and _our_ skin cache
This commit is contained in:
parent
5f8b0cf395
commit
0710d51b23
1 changed files with 1 additions and 0 deletions
|
@ -236,6 +236,7 @@ public final class HDSkinManager implements IResourceManagerReloadListener {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
FileUtils.deleteDirectory(new File(LiteLoader.getAssetsDirectory(), "skins"));
|
FileUtils.deleteDirectory(new File(LiteLoader.getAssetsDirectory(), "skins"));
|
||||||
|
FileUtils.deleteDirectory(new File(LiteLoader.getAssetsDirectory(), "hd"));
|
||||||
TextureManager textures = Minecraft.getMinecraft().getTextureManager();
|
TextureManager textures = Minecraft.getMinecraft().getTextureManager();
|
||||||
INSTANCE.skinCache.values().stream()
|
INSTANCE.skinCache.values().stream()
|
||||||
.flatMap(m -> m.values().stream())
|
.flatMap(m -> m.values().stream())
|
||||||
|
|
Loading…
Add table
Reference in a new issue