fix superenchant price

This commit is contained in:
alexcrea 2026-06-08 10:28:03 +02:00
parent 31fa3d38b7
commit 9f06f708f5
Signed by: alexcrea
GPG key ID: E346CD16413450E3

View file

@ -24,7 +24,7 @@ public class CASuperEnchantEnchantment extends CAEnchantmentBase implements Addi
private @NotNull EnchantManager enchantManager;
public CASuperEnchantEnchantment(@NotNull CustomEnchant enchant, @NotNull Plugin plugin, @NotNull EnchantManager enchantManager) {
super(NamespacedKey.fromString(enchant.getId(), plugin), EnchantmentRarity.NO_RARITY, enchant.getMaxLevel());
super(NamespacedKey.fromString(enchant.getId(), plugin), EnchantmentRarity.COMMON, enchant.getMaxLevel());
this.enchant = enchant;
this.enchantManager = enchantManager;