ampayne2/AmpMenus — pull request #2 by wiedzmin137 (2014-12-29 09:31:09+00:00)
Title: Fix ArrayIndexOutOfBoundsException in Size

Inventory slots are counted from 0 so e.g. last item in `ONE_LINE` is in slot 8, not 9.

Before, when you will fit with 27, and `ItemMenu#setItem(27, item)` you will get `ArrayIndexOutOfBoundsException`. This pull request fix it.