From fc41589e836304dc564ee6ebcc2c89b0f91bd877 Mon Sep 17 00:00:00 2001 From: Thomas Couchoud Date: Fri, 6 Oct 2023 18:24:50 +0200 Subject: [PATCH] Do not require enchant by default --- .../fallingtree/fabric/client/cloth/ClothConfigHook.java | 2 +- .../fallingtree/forge/client/cloth/ClothConfigHook.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fabric/src/client/java/fr/rakambda/fallingtree/fabric/client/cloth/ClothConfigHook.java b/fabric/src/client/java/fr/rakambda/fallingtree/fabric/client/cloth/ClothConfigHook.java index 8943ed50..3d744ade 100644 --- a/fabric/src/client/java/fr/rakambda/fallingtree/fabric/client/cloth/ClothConfigHook.java +++ b/fabric/src/client/java/fr/rakambda/fallingtree/fabric/client/cloth/ClothConfigHook.java @@ -362,7 +362,7 @@ private void fillEnchantmentConfigScreen(@NotNull ConfigBuilder builder, @NotNul .build(); var requireEnchantmentEntry = builder.entryBuilder() .startBooleanToggle(translatable(getFieldName("enchantment", "requireEnchantment")), config.isRequireEnchantment()) - .setDefaultValue(true) + .setDefaultValue(false) .setTooltip(getTooltips("enchantment", "requireEnchantment")) .setSaveConsumer(config::setRequireEnchantment) .build(); diff --git a/forge/src/main/java/fr/rakambda/fallingtree/forge/client/cloth/ClothConfigHook.java b/forge/src/main/java/fr/rakambda/fallingtree/forge/client/cloth/ClothConfigHook.java index 7500f7d7..bb255432 100644 --- a/forge/src/main/java/fr/rakambda/fallingtree/forge/client/cloth/ClothConfigHook.java +++ b/forge/src/main/java/fr/rakambda/fallingtree/forge/client/cloth/ClothConfigHook.java @@ -362,7 +362,7 @@ private void fillEnchantmentConfigScreen(@NotNull ConfigBuilder builder, @NotNul .build(); var requireEnchantmentEntry = builder.entryBuilder() .startBooleanToggle(translatable(getFieldName("enchantment", "requireEnchantment")), config.isRequireEnchantment()) - .setDefaultValue(true) + .setDefaultValue(false) .setTooltip(getTooltips("enchantment", "requireEnchantment")) .setSaveConsumer(config::setRequireEnchantment) .build();