mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-08-28 16:35:57 +02:00
This commit is contained in:
parent
d67d998dc1
commit
460114ac01
4 changed files with 35 additions and 22 deletions
|
|
@ -49,8 +49,8 @@ public class DefaultConfigTests extends SharedCustomAnvilTest {
|
|||
CAEnchantment enchantment = CAEnchantmentRegistry.getInstance().getByKey(key);
|
||||
Assertions.assertNotNull(enchantment, "Enchantment was somehow not found");
|
||||
|
||||
int itemValue = ConfigOptions.INSTANCE.enchantmentValue(enchantment, false);
|
||||
int bookValue = ConfigOptions.INSTANCE.enchantmentValue(enchantment, true);
|
||||
int itemValue = ConfigOptions.INSTANCE.enchantmentValue(enchantment, false, false);
|
||||
int bookValue = ConfigOptions.INSTANCE.enchantmentValue(enchantment, false, true);
|
||||
|
||||
EnchantmentRarity rarity = enchantment.defaultRarity();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue