Merge pull request #173 from CovertJaguar/patch-5
Fixed Entity Item render helper
This commit is contained in:
commit
6b78512a48
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue