src/main/java/me/hyfe/simplespigot/menu/Menu.java
/**
     * Removes the item in a slot.
     *
     * @param slot The slot to remove the item from.
     */
Removes the item in a slot.
@param slot The slot to remove the item from.
Removes the item in a slot . @param slot The slot to remove the item from .
public void flush(int slot) {
        if (!this.menuItems.containsKey(slot)) {
            return;
        }
        this.menuItems.remove(slot);
        this.inventory.setItem(slot, null);
    }
public void flush ( int slot ) { if ( ! this . menuItems . containsKey ( slot ) ) { return ; } this . menuItems . remove ( slot ) ; this . inventory . setItem ( slot , null ) ; }
Removes the item in a slot.
Removes the item in a slot .