From 56ddf54982bf1ff6a04eff97555785cecea663b4 Mon Sep 17 00:00:00 2001 From: Phoenix616 Date: Thu, 17 Jul 2025 14:34:59 +0200 Subject: [PATCH 1/2] fix: Effects and Game Indicators overlay toggles didn't work --- src/react/IndicatorEffectsProvider.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/react/IndicatorEffectsProvider.tsx b/src/react/IndicatorEffectsProvider.tsx index c479d7e13..bfe6f08e3 100644 --- a/src/react/IndicatorEffectsProvider.tsx +++ b/src/react/IndicatorEffectsProvider.tsx @@ -5,7 +5,6 @@ import { Effect } from 'mineflayer' import { inGameError } from '../utils' import { fsState } from '../loadSave' import { gameAdditionalState, miscUiState } from '../globalState' -import { options } from '../optionsStorage' import IndicatorEffects, { EffectType, defaultIndicatorsState } from './IndicatorEffects' import { images } from './effectsImages' @@ -67,7 +66,6 @@ export default ({ displayEffects = true, displayIndicators = true }: { displayEf const { mesherWork } = useSnapshot(appViewer.rendererState).world const { hasErrors } = useSnapshot(miscUiState) - const { disabledUiParts } = useSnapshot(options) const { isReadonly, openReadOperations, openWriteOperations } = useSnapshot(fsState) const { noConnection, poorConnection } = useSnapshot(gameAdditionalState) const allIndicators: typeof defaultIndicatorsState = { @@ -120,8 +118,8 @@ export default ({ displayEffects = true, displayIndicators = true }: { displayEf }, []) return From d14b2395f7b858f52551c27ee67f14e4d8320b6c Mon Sep 17 00:00:00 2001 From: Phoenix616 Date: Thu, 17 Jul 2025 16:47:58 +0200 Subject: [PATCH 2/2] Better fix for disabling of the effects and game indicators --- src/react/IndicatorEffectsProvider.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/react/IndicatorEffectsProvider.tsx b/src/react/IndicatorEffectsProvider.tsx index bfe6f08e3..df52296ab 100644 --- a/src/react/IndicatorEffectsProvider.tsx +++ b/src/react/IndicatorEffectsProvider.tsx @@ -118,9 +118,9 @@ export default ({ displayEffects = true, displayIndicators = true }: { displayEf }, []) return }