From c48dca512f3771033416e3bb8ee6b886c6b600f5 Mon Sep 17 00:00:00 2001 From: Snabeldier <79211348+Snabeldier@users.noreply.github.com> Date: Thu, 16 Jan 2025 03:50:10 +0100 Subject: [PATCH] make getItemFlags return Set instead of List --- src/main/java/minevalley/core/api/utils/ItemBuilder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/minevalley/core/api/utils/ItemBuilder.java b/src/main/java/minevalley/core/api/utils/ItemBuilder.java index 7c25a32..88d0872 100644 --- a/src/main/java/minevalley/core/api/utils/ItemBuilder.java +++ b/src/main/java/minevalley/core/api/utils/ItemBuilder.java @@ -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 { @@ -106,7 +107,7 @@ public interface ItemBuilder { */ @Nonnull @Contract(pure = true) - List getItemFlags(); + Set getItemFlags(); /** * Sets the item's color.