diff --git a/shared/src/main/java/ht/treechop/client/gui/screen/ClientSettingsScreen.java b/shared/src/main/java/ht/treechop/client/gui/screen/ClientSettingsScreen.java index 2a467cf3..5350ce0d 100644 --- a/shared/src/main/java/ht/treechop/client/gui/screen/ClientSettingsScreen.java +++ b/shared/src/main/java/ht/treechop/client/gui/screen/ClientSettingsScreen.java @@ -1,5 +1,6 @@ package ht.treechop.client.gui.screen; +import ht.treechop.client.settings.ClientChopSettings; import net.minecraft.client.gui.GuiGraphics; import ht.treechop.TreeChop; import ht.treechop.client.Client; @@ -208,7 +209,11 @@ private LinkedList makePageTwo() { boolean newValue = !ConfigHandler.CLIENT.showFellingOptions.get(); ConfigHandler.CLIENT.showFellingOptions.set(newValue); if (!newValue) { - ConfigHandler.CLIENT.fellingEnabled.set(true); + ClientChopSettings settings = Client.getChopSettings(); + settings.setFellingEnabled(true); + if (settings.getSneakBehavior() == SneakBehavior.INVERT_FELLING) { + settings.setSneakBehavior(SneakBehavior.INVERT_CHOPPING); + } } }, () -> ToggleWidget.State.of(