mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-26 22:03:02 +00:00
Fix Spectator Menu totally
This commit is contained in:
1 parent
fba9f7ca28
commit
6ffdf2aafb
2 files changed
+9
-3
No files matched your search
@@ -50,6 +50,8 @@ public class FakeSkinManager{
|
||||
else{
|
||||
ThreadDownloadImageData threaddownloadimagedata = new ThreadDownloadImageData(info.cacheFile, info.url, DefaultPlayerSkin.getDefaultSkinLegacy(),
|
||||
new BaseBuffer(skinAvailableCallback, textureType, resourcelocation, profileTexture));
|
||||
if(skinAvailableCallback instanceof FakeClientPlayer.LegacyBuffer)//Cache for client player
|
||||
FakeClientPlayer.textureCache.put(resourcelocation,threaddownloadimagedata);
|
||||
this.textureManager.loadTexture(resourcelocation, threaddownloadimagedata);
|
||||
}
|
||||
return resourcelocation;
|
||||
|
||||
Reference in new issue
Block a user