diff --git a/eco-api/src/main/java/com/willfp/eco/util/ArrowUtils.java b/eco-api/src/main/java/com/willfp/eco/util/ArrowUtils.java index b5957fc08..0bac523c3 100644 --- a/eco-api/src/main/java/com/willfp/eco/util/ArrowUtils.java +++ b/eco-api/src/main/java/com/willfp/eco/util/ArrowUtils.java @@ -29,10 +29,10 @@ public ItemStack getBow(@NotNull final Arrow arrow) { 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(); } }