diff --git a/pom.xml b/pom.xml
index eb1dcfb..10272d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
de.mrstein.customheads
CustomHeads
- 2.9.7
+ 2.9.8
jar
diff --git a/src/main/java/de/mrstein/customheads/reflection/TagEditor.java b/src/main/java/de/mrstein/customheads/reflection/TagEditor.java
index 6e00a05..e04aa5d 100644
--- a/src/main/java/de/mrstein/customheads/reflection/TagEditor.java
+++ b/src/main/java/de/mrstein/customheads/reflection/TagEditor.java
@@ -147,7 +147,7 @@ public class TagEditor {
Object copy = getAsMNSCopy(item);
Object itemCompound = copy.getClass().getMethod("getTag").invoke(copy);
Object tagCompound = itemCompound.getClass().getMethod("getCompound", String.class).invoke(itemCompound, "tagEditor");
- return tagCompound != null && tagCompound.getClass().getMethod("getList", String.class, int.class).invoke(tagCompound, tagname, 8) != null;
+ return tagCompound != null && (boolean) tagCompound.getClass().getMethod("hasKey", String.class).invoke(tagCompound, tagname);
} catch (Exception e) {
}
return false;