mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-23 19:57:36 +01:00
Updated to eco 6
This commit is contained in:
parent
5fc58a1c5e
commit
9847245c4b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user