Skip to content

Commit

Permalink
make getItemFlags return Set instead of List
Browse files Browse the repository at this point in the history
  • Loading branch information
Snabeldier committed Jan 16, 2025
1 parent 07c64d7 commit c48dca5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/minevalley/core/api/utils/ItemBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
import java.util.List;
import java.util.Set;

@SuppressWarnings("unused")
public interface ItemBuilder {
Expand Down Expand Up @@ -106,7 +107,7 @@ public interface ItemBuilder {
*/
@Nonnull
@Contract(pure = true)
List<ItemFlag> getItemFlags();
Set<ItemFlag> getItemFlags();

/**
* Sets the item's color.
Expand Down

0 comments on commit c48dca5

Please sign in to comment.