mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-21 19:42:15 +00:00
Fix elytra can not be rendered when the cape doesn't contain elytra. (#160)
* Fix elytra can not be rendered when the cape doesn't contain elytra. * Fix typo. * Streamline IFakeThreadDownloadImageData. * Fix wrong arguments. * Add compatible with other custom player model mods, such as tr7zw/FirstPersonModel
This commit is contained in:
1 parent
d5dea652ff
commit
3e001c4cdf
30 files changed
+381
-21
No files matched your search
@@ -84,7 +84,7 @@ public class FakeThreadDownloadImageData {
|
||||
V4(() -> new IThreadDownloadImageDataBuilder() { // Forge 1.15.x~1.16.x
|
||||
@Override
|
||||
public SimpleTexture build(File cacheFile, String imageUrl, ResourceLocation textureResourceLocation, IImageBuffer imageBuffer, MinecraftProfileTexture.Type textureType) {
|
||||
return new DownloadingTexture(cacheFile, imageUrl, textureResourceLocation, textureType == MinecraftProfileTexture.Type.SKIN, imageBuffer);
|
||||
return new DownloadingTexture(cacheFile, imageUrl, textureResourceLocation, true, imageBuffer);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user