mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
try fix definition issue
This commit is contained in:
parent
179b8db090
commit
d92a97781c
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ public class CAEEPreV5Enchantment extends CABukkitEnchantment implements Additio
|
||||||
@NotNull Definition definition;
|
@NotNull Definition definition;
|
||||||
|
|
||||||
public CAEEPreV5Enchantment(@NotNull CustomEnchantment enchantment) {
|
public CAEEPreV5Enchantment(@NotNull CustomEnchantment enchantment) {
|
||||||
super(enchantment.getBukkitEnchantment(), EnchantmentRarity.getRarity(enchantment.getDefinition().getAnvilCost()));
|
super(enchantment.getBukkitEnchantment(), getRarity(enchantment.getBukkitEnchantment()));
|
||||||
this.eeenchantment = enchantment;
|
this.eeenchantment = enchantment;
|
||||||
this.definition = (Definition) enchantment.getDefinition();
|
this.definition = (Definition) enchantment.getDefinition();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue