Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/27/18 in all areas

  1. You're tracking a total amount of dust found, but you're returning it before every slot has been checked (or if a slot is the wrong item, returning 0).
    1 point
  2. Ah, yes. You're correct. I saw the first return and missed that one
    1 point
  3. First item in the backpack is a rock. Not reagent item. Next! Second item in the backpack is a reagent item. int total = 0 + stack size. Return total! All done! (Hey...what about the 3rd, 4th, and 5th items?)
    1 point
  4. Pretty much. getSlots() tells you how many slots there are (0-indexed) and getStackInSlot(index) gets the stack in that slot.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.