oopsie whoopsie

This commit is contained in:
alterNERDtive 2023-07-26 10:50:30 +02:00
parent 84c7529379
commit cafd733018
Signed by: alterNERDtive
GPG key ID: 547787A4FE6533F1

View file

@ -57,7 +57,7 @@ public abstract class MixinEnchantmentEntry
if (Configuration.FORTUNE_ENABLED.get()) { if (Configuration.FORTUNE_ENABLED.get()) {
ResourceLocation registryName = this.enchantment.getRegistryName(); ResourceLocation registryName = this.enchantment.getRegistryName();
if (registryName != null && registryName.toString().equals("minecraft:fortune")) { if (registryName != null && registryName.toString().equals("minecraft:fortune")) {
maxFortune = Configuration.FORTUNE_LEVEL.get(); int maxFortune = Configuration.FORTUNE_LEVEL.get();
VaultModTweaks.LOGGER.info(I18n.get("the_vault_tweaks.log.inject.fortune.level", maxFortune)); VaultModTweaks.LOGGER.info(I18n.get("the_vault_tweaks.log.inject.fortune.level", maxFortune));
this.level = maxFortune; this.level = maxFortune;
} }