Merge pull request #173 from CovertJaguar/patch-5

Fixed Entity Item render helper
This commit is contained in:
LexManos 2012-09-18 19:50:36 -07:00
commit 6b78512a48

View file

@ -254,7 +254,7 @@ public class ForgeHooksClient
int size = entity.item.stackSize; int size = entity.item.stackSize;
int count = (size > 20 ? 4 : (size > 5 ? 3 : (size > 1 ? 2 : 1))); int count = (size > 20 ? 4 : (size > 5 ? 3 : (size > 1 ? 2 : 1)));
for(int j = 0; j < size; j++) for(int j = 0; j < count; j++)
{ {
GL11.glPushMatrix(); GL11.glPushMatrix();
if (j > 0) if (j > 0)