Merge pull request #1091 from Clashsoft/master

Don't render ItemStack tooltip twice
This commit is contained in:
LexManos committed 2014-05-22 09:57:36 -07:00
commit 8145de123e
1 file changed
+2 -2
@@ -11,12 +11,12 @@
import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.GL11;
@@ -111,7 +115,9 @@
@@ -111,7 +115,8 @@
}
}
+ FontRenderer font = p_146285_1_.func_77973_b().getFontRenderer(p_146285_1_);
this.func_146283_a(list, p_146285_2_, p_146285_3_);
- this.func_146283_a(list, p_146285_2_, p_146285_3_);
+ drawHoveringText(list, p_146285_2_, p_146285_3_, (font == null ? field_146289_q : font));
}