From eb897fa9a992aaeb97e54ed44864344d4d375845 Mon Sep 17 00:00:00 2001 From: CovertJaguar Date: Mon, 17 Sep 2012 00:25:26 -0700 Subject: [PATCH] Fixed Entity Item render helper --- client/net/minecraftforge/client/ForgeHooksClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/net/minecraftforge/client/ForgeHooksClient.java b/client/net/minecraftforge/client/ForgeHooksClient.java index 0e2647eeb..80aeed04c 100644 --- a/client/net/minecraftforge/client/ForgeHooksClient.java +++ b/client/net/minecraftforge/client/ForgeHooksClient.java @@ -254,7 +254,7 @@ public class ForgeHooksClient int size = entity.item.stackSize; 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(); if (j > 0)