aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java
diff options
context:
space:
mode:
authorAnthony Hilyard <anthony.hilyard@gmail.com>2022-07-24 23:22:06 -0700
committerAnthony Hilyard <anthony.hilyard@gmail.com>2022-07-24 23:22:06 -0700
commit6d01463c32ea14f48ce273e9daf753905f101946 (patch)
treecbd655526e165d6698850d79080e1c0eeb741622 /src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java
parent427f975d78b64ec4433e8e0542729feb0e618608 (diff)
downloadIceberg-6d01463c32ea14f48ce273e9daf753905f101946.tar.gz
Iceberg-6d01463c32ea14f48ce273e9daf753905f101946.tar.bz2
Iceberg-6d01463c32ea14f48ce273e9daf753905f101946.zip
Added support for latest Forge and Configured.
Diffstat (limited to 'src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java')
-rw-r--r--src/main/java/com/anthonyhilyard/iceberg/util/Selectors.java2
1 files changed, 1 insertions, 1 deletions
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();