src/main/java/me/hyfe/simplespigot/menu/Menu.java
/**
     * Sets a slot to the specified menu item.
     *
     * @param menuItem The MenuItem to set in the GUI.
     */
Sets a slot to the specified menu item.
@param menuItem The MenuItem to set in the GUI.
Sets a slot to the specified menu item . @param menuItem The MenuItem to set in the GUI .
public void item(MenuItem menuItem) {
        int slot = this.gridToSlot(menuItem.getSlot(), menuItem.getRow());
        this.menuItems.put(slot, menuItem);
        this.inventory.setItem(slot, menuItem.getItemStack());
    }
public void item ( MenuItem menuItem ) { int slot = this . gridToSlot ( menuItem . getSlot ( ) , menuItem . getRow ( ) ) ; this . menuItems . put ( slot , menuItem ) ; this . inventory . setItem ( slot , menuItem . getItemStack ( ) ) ; }
Sets a slot to the specified menu item.
Sets a slot to the specified menu item .