Commits
DemonWav authored and md_5 committed 15a3ac1c20c
50 50 | * reaches the end of the row. It follows the same path in the inventory like you would read a book. |
51 51 | * <p> |
52 52 | * Indexes 36 through 39 refer to the armor slots. Though you can set armor with this method using these indexes, |
53 53 | * you are encouraged to use the provided methods for those slots. |
54 54 | * <p> |
55 55 | * If you attempt to use this method with an index less than 0 or greater than 39, an ArrayIndexOutOfBounds |
56 56 | * exception will be thrown. |
57 57 | * |
58 58 | * @param index The index where to put the ItemStack |
59 59 | * @param item The ItemStack to set |
60 - | * @throws ArrayIndexOutOfBoundsException when index < 0 || index > 39 |
60 + | * @throws ArrayIndexOutOfBoundsException when index < 0 || index > 39 |
61 61 | * @see #setBoots(ItemStack) |
62 62 | * @see #setChestplate(ItemStack) |
63 63 | * @see #setHelmet(ItemStack) |
64 64 | * @see #setLeggings(ItemStack) |
65 65 | */ |
66 66 | |
67 67 | public void setItem(int index, ItemStack item); |
68 68 | |
69 69 | /** |
70 70 | * Put the given ItemStacks into the armor slots |