Fix patches after last fml merge.

This commit is contained in:
cpw committed 2015-05-14 13:56:10 -04:00
1 parent cb6f92e3c7
commit 58fdfb6fa1
3 files changed
+29 -20

No files matched your search

@@ -5,12 +5,12 @@
int j = Integer.MAX_VALUE;
int k = 1 << this.field_147636_j;
+ net.minecraftforge.client.ForgeHooksClient.onTextureStitchedPre(this);
net.minecraftforge.fml.common.ProgressManager.ProgressBar bar = net.minecraftforge.fml.common.ProgressManager.push("Texture stitching", this.field_110574_e.size());
Iterator iterator = this.field_110574_e.entrySet().iterator();
while (iterator.hasNext())
@@ -100,6 +101,16 @@
ResourceLocation resourcelocation = new ResourceLocation(textureatlassprite.func_94215_i());
@@ -102,6 +103,16 @@
ResourceLocation resourcelocation1 = this.func_147634_a(resourcelocation, 0);
bar.step(resourcelocation1.func_110623_a());
+ if (textureatlassprite.hasCustomLoader(p_110571_1_, resourcelocation))
+ {
@@ -25,7 +25,7 @@
try
{
IResource iresource = p_110571_1_.func_110536_a(resourcelocation1);
@@ -275,6 +286,9 @@
@@ -287,6 +298,9 @@
textureatlassprite2.func_94217_a(this.field_94249_f);
}
@@ -33,9 +33,9 @@
+
+ if (!net.minecraftforge.common.ForgeModContainer.disableStitchedFileSaving)
TextureUtil.func_177055_a(this.field_94254_c.replaceAll("/", "_"), this.func_110552_b(), this.field_147636_j, stitcher.func_110935_a(), stitcher.func_110936_b());
net.minecraftforge.fml.common.ProgressManager.pop(bar);
}
@@ -341,4 +355,37 @@
@@ -354,4 +368,37 @@
{
return this.field_94249_f;
}