Fix small logic error in ItemTextureQuadConverter (#5463)
This commit is contained in:
parent
aef224221f
commit
119e4a6924
|
@ -57,7 +57,7 @@ public final class ItemTextureQuadConverter
|
||||||
List<UnpackedBakedQuad> horizontal = convertTextureHorizontal(format, transform, template, sprite, z, facing, color, tint);
|
List<UnpackedBakedQuad> horizontal = convertTextureHorizontal(format, transform, template, sprite, z, facing, color, tint);
|
||||||
List<UnpackedBakedQuad> vertical = convertTextureVertical(format, transform, template, sprite, z, facing, color, tint);
|
List<UnpackedBakedQuad> vertical = convertTextureVertical(format, transform, template, sprite, z, facing, color, tint);
|
||||||
|
|
||||||
return horizontal.size() >= vertical.size() ? horizontal : vertical;
|
return horizontal.size() <= vertical.size() ? horizontal : vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue