mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 08:14:00 +02:00
fix build error
This commit is contained in:
parent
12bfcb75ce
commit
bce43649bc
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
package xyz.alexcrea.cuanvil.enchant.wrapped;
|
package xyz.alexcrea.cuanvil.enchant.wrapped;
|
||||||
|
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
import org.bukkit.NamespacedKey;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import su.nightexpress.excellentenchants.api.enchantment.CustomEnchantment;
|
import su.nightexpress.excellentenchants.api.enchantment.CustomEnchantment;
|
||||||
import xyz.alexcrea.cuanvil.dependency.plugins.ExcellentEnchant5_4EnchantSettings;
|
import xyz.alexcrea.cuanvil.dependency.plugins.ExcellentEnchant5_4EnchantSettings;
|
||||||
|
|
@ -15,7 +16,7 @@ public class CAEEV5_4Enchantment extends CAEEV5Enchantment {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isEnchantConflict(@NotNull Map<CAEnchantment, Integer> enchantments, @NotNull Material itemMat) {
|
public boolean isEnchantConflict(@NotNull Map<CAEnchantment, Integer> enchantments, @NotNull NamespacedKey itemMat) {
|
||||||
if(super.isEnchantConflict(enchantments, itemMat)) return true;
|
if(super.isEnchantConflict(enchantments, itemMat)) return true;
|
||||||
|
|
||||||
var limit = ExcellentEnchant5_4EnchantSettings.anvilLimit();
|
var limit = ExcellentEnchant5_4EnchantSettings.anvilLimit();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue