@@ -106,7 +106,7 @@ private static void UpdateSetting(string settingName, string? command)
106
106
property . SetValue ( Service . Config , convertedValue ) ;
107
107
command = convertedValue ? . ToString ( ) ;
108
108
109
- if ( Service . Config . ShowToggledActionInChat )
109
+ if ( Service . Config . ShowToggledSettingInChat )
110
110
{
111
111
Svc . Chat . Print ( $ "Changed setting { property . Name } to { command } ") ;
112
112
}
@@ -227,14 +227,14 @@ private static Enum GetNextEnumValue(Enum currentEnumValue)
227
227
228
228
private static void ToggleActionCommand ( string str )
229
229
{
230
- foreach ( var act in RotationUpdater . RightRotationActions )
230
+ foreach ( var act in RotationUpdater . CurrentRotationActions )
231
231
{
232
232
if ( str . StartsWith ( act . Name ) )
233
233
{
234
234
var flag = str [ act . Name . Length ..] . Trim ( ) ;
235
235
act . IsEnabled = bool . TryParse ( flag , out var parse ) ? parse : ! act . IsEnabled ;
236
236
237
- if ( Service . Config . ShowToggledActionInChat )
237
+ if ( Service . Config . ShowToggledSettingInChat )
238
238
{
239
239
Svc . Chat . Print ( $ "Toggled { act . Name } : { act . IsEnabled } ") ;
240
240
}
@@ -258,7 +258,7 @@ private static void DoActionCommand(string str)
258
258
259
259
if ( double . TryParse ( timeStr , out var time ) )
260
260
{
261
- foreach ( var iAct in RotationUpdater . RightRotationActions )
261
+ foreach ( var iAct in RotationUpdater . CurrentRotationActions )
262
262
{
263
263
if ( actName . Equals ( iAct . Name , StringComparison . OrdinalIgnoreCase ) )
264
264
{
@@ -288,7 +288,7 @@ private static void DoRotationCommand(ICustomRotation customCombo, string str)
288
288
{
289
289
if ( config . DoCommand ( configs , str ) )
290
290
{
291
- if ( Service . Config . ShowToggledActionInChat )
291
+ if ( Service . Config . ShowToggledSettingInChat )
292
292
{
293
293
Svc . Chat . Print ( $ "Changed setting { config . DisplayName } to { config . Value } ") ;
294
294
return ;
0 commit comments