mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-21 06:52:17 +00:00
Fix mistake
This commit is contained in:
1 parent
1c973e633b
commit
8257d6dfd0
5 files changed
+5
-5
No files matched your search
@@ -73,7 +73,7 @@ public class SkinManager
|
||||
public ResourceLocation loadSkin(MinecraftProfileTexture p_152789_1_, final Type p_152789_2_, final SkinManager.SkinAvailableCallback p_152789_3_)
|
||||
{
|
||||
//CustomSkinLoader Begin (Parse HttpTextureInfo)
|
||||
customskinloader.utils.HttpTextureUtil.HttpTextureInfo info=customskinloader.utils.HttpTextureUtil.toHttpTextureInfo(this.skinCacheDir, p_152789_1_.getUrl());
|
||||
customskinloader.utils.HttpTextureUtil.HttpTextureInfo info=customskinloader.utils.HttpTextureUtil.toHttpTextureInfo(p_152789_1_.getUrl());
|
||||
//CustomSkinLoader End
|
||||
final ResourceLocation var4 = new ResourceLocation("skins/" + info.hash);//Modified
|
||||
ITextureObject var5 = this.textureManager.getTexture(var4);
|
||||
|
||||
@@ -71,7 +71,7 @@ public class SkinManager
|
||||
public ResourceLocation loadSkin(final MinecraftProfileTexture profileTexture, final Type p_152789_2_, final SkinManager.SkinAvailableCallback skinAvailableCallback)
|
||||
{
|
||||
//CustomSkinLoader Begin (Parse HttpTextureInfo)
|
||||
customskinloader.utils.HttpTextureUtil.HttpTextureInfo info=customskinloader.utils.HttpTextureUtil.toHttpTextureInfo(this.skinCacheDir, profileTexture.getUrl());
|
||||
customskinloader.utils.HttpTextureUtil.HttpTextureInfo info=customskinloader.utils.HttpTextureUtil.toHttpTextureInfo(profileTexture.getUrl());
|
||||
//CustomSkinLoader End
|
||||
final ResourceLocation var4 = new ResourceLocation("skins/" + info.hash);//Modified
|
||||
ITextureObject var5 = this.textureManager.getTexture(var4);
|
||||
|
||||
@@ -64,7 +64,7 @@ public class SkinManager
|
||||
public ResourceLocation loadSkin(final MinecraftProfileTexture profileTexture, final Type p_152789_2_, final SkinManager.SkinAvailableCallback skinAvailableCallback)
|
||||
{
|
||||
//CustomSkinLoader Begin (Parse HttpTextureInfo)
|
||||
customskinloader.utils.HttpTextureUtil.HttpTextureInfo info=customskinloader.utils.HttpTextureUtil.toHttpTextureInfo(this.skinCacheDir, profileTexture.getUrl());
|
||||
customskinloader.utils.HttpTextureUtil.HttpTextureInfo info=customskinloader.utils.HttpTextureUtil.toHttpTextureInfo(profileTexture.getUrl());
|
||||
//CustomSkinLoader End
|
||||
final ResourceLocation resourcelocation = new ResourceLocation("skins/" + info.hash);//Modified
|
||||
ITextureObject itextureobject = this.textureManager.getTexture(resourcelocation);
|
||||
|
||||
@@ -65,7 +65,7 @@ public class SkinManager
|
||||
public ResourceLocation loadSkin(final MinecraftProfileTexture profileTexture, final Type textureType, final SkinManager.SkinAvailableCallback skinAvailableCallback)
|
||||
{
|
||||
//CustomSkinLoader Begin (Parse HttpTextureInfo)
|
||||
customskinloader.utils.HttpTextureUtil.HttpTextureInfo info=customskinloader.utils.HttpTextureUtil.toHttpTextureInfo(this.skinCacheDir, profileTexture.getUrl());
|
||||
customskinloader.utils.HttpTextureUtil.HttpTextureInfo info=customskinloader.utils.HttpTextureUtil.toHttpTextureInfo(profileTexture.getUrl());
|
||||
//CustomSkinLoader End
|
||||
final ResourceLocation resourcelocation = new ResourceLocation("skins/" + info.hash);//Modified
|
||||
ITextureObject itextureobject = this.textureManager.getTexture(resourcelocation);
|
||||
|
||||
@@ -65,7 +65,7 @@ public class SkinManager
|
||||
public ResourceLocation loadSkin(final MinecraftProfileTexture profileTexture, final Type textureType, @Nullable final SkinManager.SkinAvailableCallback skinAvailableCallback)
|
||||
{
|
||||
//CustomSkinLoader Begin (Parse HttpTextureInfo)
|
||||
customskinloader.utils.HttpTextureUtil.HttpTextureInfo info=customskinloader.utils.HttpTextureUtil.toHttpTextureInfo(this.skinCacheDir, profileTexture.getUrl());
|
||||
customskinloader.utils.HttpTextureUtil.HttpTextureInfo info=customskinloader.utils.HttpTextureUtil.toHttpTextureInfo(profileTexture.getUrl());
|
||||
//CustomSkinLoader End
|
||||
final ResourceLocation resourcelocation = new ResourceLocation("skins/" + info.hash);//Modified
|
||||
ITextureObject itextureobject = this.textureManager.getTexture(resourcelocation);
|
||||
|
||||
Reference in new issue
Block a user