Skip to content

Commit

Permalink
Do not require enchant by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakambda committed Oct 6, 2023
1 parent 8842cec commit fc41589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit fc41589

Please sign in to comment.