Skip to content

Commit

Permalink
Fix ArrayOutOfBoundsException
Browse files Browse the repository at this point in the history
  • Loading branch information
micdoodle8 committed Mar 6, 2013
1 parent 9871814 commit aec4000
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected void entityInit()
protected void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
{
final NBTTagList var2 = par1NBTTagCompound.getTagList("Items");
this.cargo = new ItemStack[27];
this.cargo = new ItemStack[28];

for (int var3 = 0; var3 < var2.tagCount(); ++var3)
{
Expand Down

0 comments on commit aec4000

Please sign in to comment.