mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-24 20:07:34 +01:00
Updated to eco 6
This commit is contained in:
parent
5fc58a1c5e
commit
9847245c4b
@ -1,7 +1,5 @@
|
|||||||
package com.willfp.ecoenchants.precision;
|
package com.willfp.ecoenchants.precision;
|
||||||
|
|
||||||
|
|
||||||
import com.willfp.eco.util.TridentUtils;
|
|
||||||
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
import com.willfp.ecoenchants.enchantments.EcoEnchant;
|
||||||
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
import com.willfp.ecoenchants.enchantments.EcoEnchants;
|
||||||
import com.willfp.ecoenchants.enchantments.meta.EnchantmentType;
|
import com.willfp.ecoenchants.enchantments.meta.EnchantmentType;
|
||||||
@ -43,7 +41,7 @@ public class Precision extends EcoEnchant {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ItemStack itemStack = TridentUtils.getItemStack(trident);
|
ItemStack itemStack = trident.getItem();
|
||||||
if (!EnchantChecks.item(itemStack, this)) {
|
if (!EnchantChecks.item(itemStack, this)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user