fixed jewel cutting config option
This commit is contained in:
parent
9f8da672b1
commit
ff6cd430f2
2 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
# devel
|
||||
|
||||
* Updated dependencies for Vault Hunters 3.11.2.2.
|
||||
* Fixed jewel cutting tweaks being en-/disabled via the Jeweller expertise switch, the dedicated option now takes effect.
|
||||
|
||||
# 3.11.2.1 (2023-08-07)
|
||||
|
||||
|
|
|
@ -51,10 +51,14 @@ public abstract class MixinVaultJewelCuttingConfig extends Config {
|
|||
@Override
|
||||
protected void onLoad(Config oldConfigInstance) {
|
||||
super.onLoad(oldConfigInstance);
|
||||
|
||||
if (Configuration.JEWELER_ENABLED.get()) {
|
||||
float chance = Configuration.JEWELER_CHANCE.get().floatValue();
|
||||
VaultModTweaks.LOGGER.info(I18n.get("the_vault_tweaks.log.inject.jewelcutting.failurechance", chance));
|
||||
this.jewelCuttingModifierRemovalChance = chance;
|
||||
}
|
||||
|
||||
if (Configuration.JEWELS_ENABLED.get()) {
|
||||
int min = Configuration.JEWELS_MIN.get();
|
||||
int max = Configuration.JEWELS_MAX.get();
|
||||
VaultModTweaks.LOGGER.info(I18n.get("the_vault_tweaks.log.inject.jewelcutting.sizes", min, max));
|
||||
|
|
Loading…
Reference in a new issue