()
| 91 | */ |
| 92 | //Helpful utility method to fill all remaining slots with "filler glass" |
| 93 | public void setFillerGlass() { |
| 94 | for (int i = 0; i < getSlots(); i++) { |
| 95 | if (inventory.getItem(i) == null) { |
| 96 | inventory.setItem(i, FILLER_GLASS); |
| 97 | } |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * @param itemStack Placed into every empty slot when ran |