From 9847245c4b21900eca315e78ae01720bed6eb7ce Mon Sep 17 00:00:00 2001 From: Auxilor Date: Wed, 21 Jul 2021 18:41:02 +0100 Subject: [PATCH] Updated to eco 6 --- .../main/java/com/willfp/ecoenchants/precision/Precision.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eco-extensions/precision/src/main/java/com/willfp/ecoenchants/precision/Precision.java b/eco-extensions/precision/src/main/java/com/willfp/ecoenchants/precision/Precision.java index bc91632b..fd99fbce 100644 --- a/eco-extensions/precision/src/main/java/com/willfp/ecoenchants/precision/Precision.java +++ b/eco-extensions/precision/src/main/java/com/willfp/ecoenchants/precision/Precision.java @@ -1,7 +1,5 @@ package com.willfp.ecoenchants.precision; - -import com.willfp.eco.util.TridentUtils; import com.willfp.ecoenchants.enchantments.EcoEnchant; import com.willfp.ecoenchants.enchantments.EcoEnchants; import com.willfp.ecoenchants.enchantments.meta.EnchantmentType; @@ -43,7 +41,7 @@ public class Precision extends EcoEnchant { return; } - ItemStack itemStack = TridentUtils.getItemStack(trident); + ItemStack itemStack = trident.getItem(); if (!EnchantChecks.item(itemStack, this)) { return; }