Remove our changes to Stitcher slot allocation.
This commit is contained in:
parent
fd859812eb
commit
9d95952dc1
1 changed files with 0 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
||||||
--- ../src-base/minecraft/net/minecraft/client/renderer/texture/Stitcher.java
|
|
||||||
+++ ../src-work/minecraft/net/minecraft/client/renderer/texture/Stitcher.java
|
|
||||||
@@ -161,7 +161,7 @@
|
|
||||||
|
|
||||||
if (flag4 ^ flag5)
|
|
||||||
{
|
|
||||||
- flag1 = !flag4;
|
|
||||||
+ flag1 = flag4; //Forge: Bug fix: Fixed inverted logic. flag1 = addNewColumn, flag4 = expandWidth
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
@@ -183,7 +183,7 @@
|
|
||||||
|
|
||||||
j = Math.max(p_94311_1_.func_94197_a(), p_94311_1_.func_94199_b());
|
|
||||||
|
|
||||||
- if (MathHelper.func_151236_b((flag1 ? this.field_94315_d : this.field_94318_c) + j) > (flag1 ? this.field_94313_f : this.field_94316_e))
|
|
||||||
+ if (MathHelper.func_151236_b((!flag1 ? this.field_94315_d : this.field_94318_c) + j) > (!flag1 ? this.field_94313_f : this.field_94316_e)) //Forge: Width and height were swapped.
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
Loading…
Reference in a new issue