From 3db5a7f591d7a9a5015a26ba01f72507559dcfda Mon Sep 17 00:00:00 2001 From: Horatio Date: Mon, 4 Sep 2023 16:10:08 -0300 Subject: [PATCH] Updated totems from deprecated proto --- ui/enhancement_shaman/inputs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/enhancement_shaman/inputs.ts b/ui/enhancement_shaman/inputs.ts index af3ab84334..254704072d 100644 --- a/ui/enhancement_shaman/inputs.ts +++ b/ui/enhancement_shaman/inputs.ts @@ -87,7 +87,7 @@ export const EnhancmentItemSwapInputs = InputHelpers.MakeItemSwapInput) => (player.getRotation().totems?.useFireElemental && player.getRotation().enableItemSwap) || false + showWhen: (player: Player) => (player.getSpecOptions().totems?.useFireElemental && player.getRotation().enableItemSwap) || false }) export const EnhancementShamanRotationConfig = { @@ -97,7 +97,7 @@ export const EnhancementShamanRotationConfig = { fieldName: 'enableItemSwap', label: 'Enable Item Swapping', labelTooltip: 'Toggle on/off item swapping', - showWhen: (player: Player) => player.getRotation().totems?.useFireElemental || false + showWhen: (player: Player) => player.getSpecOptions().totems?.useFireElemental || false }), EnhancmentItemSwapInputs, InputHelpers.makeRotationEnumInput({