Fix small logic error in ItemTextureQuadConverter (#5463)

This commit is contained in:
Ben Staddon 2019-02-13 22:03:37 +00:00 committed by tterrag
parent aef224221f
commit 119e4a6924

View file

@ -57,7 +57,7 @@ public final class ItemTextureQuadConverter
List<UnpackedBakedQuad> horizontal = convertTextureHorizontal(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;
}
/**