Fix entity items rendering on the ground.
This commit is contained in:
parent
c8753aa104
commit
ba6c4dd7df
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@
|
|||
- {
|
||||
+ this.loadTexture(Item.itemsList[var10.itemID].getTextureFile());
|
||||
+
|
||||
+ for (var15 = 0; var15 <= var10.getItem().getRenderPasses(var10.getItemDamage()); ++var15)
|
||||
+ for (var15 = 0; var15 < var10.getItem().getRenderPasses(var10.getItemDamage()); ++var15)
|
||||
+ {
|
||||
+ this.random.setSeed(187L); //Fixes Vanilla bug where layers would not render aligns properly.
|
||||
var16 = var10.getItem().getIconFromDamageForRenderPass(var10.getItemDamage(), var15);
|
||||
|
@ -77,7 +77,7 @@
|
|||
- {
|
||||
- this.loadTexture("/gui/items.png");
|
||||
- }
|
||||
+ var10.getItem().getTextureFile();
|
||||
+ this.loadTexture(var10.getItem().getTextureFile());
|
||||
|
||||
if (this.field_77024_a)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue