Fixed ArrowUtils

This commit is contained in:
Auxilor
2021-07-22 16:41:43 +01:00
parent 214308da10
commit 16d146dba0

View File

@@ -29,10 +29,10 @@ public class ArrowUtils {
return null;
}
if (!(values.get(0) instanceof ItemStack)) {
if (!(values.get(0).value() instanceof ItemStack)) {
return null;
}
return (ItemStack) values.get(0);
return (ItemStack) values.get(0).value();
}
}