From 6d01463c32ea14f48ce273e9daf753905f101946 Mon Sep 17 00:00:00 2001 From: Anthony Hilyard Date: Sun, 24 Jul 2022 23:22:06 -0700 Subject: Added support for latest Forge and Configured. --- src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java') diff --git a/src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java b/src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java index cfbc203..b21c168 100644 --- a/src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java +++ b/src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java @@ -148,7 +148,7 @@ public class Selectors * @param selector A selector string to check against. * @return True if the item matches, false otherwise. */ - @SuppressWarnings("deprecation") + @SuppressWarnings({"deprecation", "removal"}) public static boolean itemMatches(ItemStack item, String selector) { String itemResourceLocation = ForgeRegistries.ITEMS.getKey(item.getItem()).toString(); -- cgit