Fixed Array-Bounds-Check in ItemBlockFruit (should also fix NEI-Based crashes occurring since build 1142)
This commit is contained in:
parent
c572546353
commit
8efcb9c075
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ public class ItemBlockFruit extends ItemBlock
|
||||||
meta = 0;
|
meta = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return super.getUnlocalizedName() + "." + plants[itemStack.getItemDamage()];
|
return super.getUnlocalizedName() + "." + plants[meta];
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue