src/main/java/me/hyfe/simplespigot/item/SpigotItem.java
/**
         * Adds an item flag to the item in the builder using its name.
         *
         * @param flagString The name of the item flag.
         * @return The builder.
         */
Adds an item flag to the item in the builder using its name.
@param flagString The name of the item flag.
@return The builder.
Adds an item flag to the item in the builder using its name . @param flagString The name of the item flag . @return The builder .
public Builder flag(String flagString) {
            try {
                ItemFlag flag = ItemFlag.valueOf(flagString.toUpperCase());
                this.itemFlags.add(flag);
            } catch (Exception ignored) {
            }
            return this;
        }
public Builder flag ( String flagString ) { try { ItemFlag flag = ItemFlag . valueOf ( flagString . toUpperCase ( ) ) ; this . itemFlags . add ( flag ) ; } catch ( Exception ignored ) { } return this ; }
Adds an item flag to the item in the builder using its name.
Adds an item flag to the item in the builder using its name .