diff --git a/SecretAPI/Features/UserSettings/CustomButtonSetting.cs b/SecretAPI/Features/UserSettings/CustomButtonSetting.cs
index dfff551..d20f3e9 100644
--- a/SecretAPI/Features/UserSettings/CustomButtonSetting.cs
+++ b/SecretAPI/Features/UserSettings/CustomButtonSetting.cs
@@ -68,5 +68,11 @@ public float RequiredHoldTime
///
/// Sends an update to that or has updated.
///
- private void SendButtonUpdate() => Base.SendButtonUpdate(Text, RequiredHoldTime, false, IsKnownOwnerHub);
+ private void SendButtonUpdate()
+ {
+ if (!IsCurrentlyAccessible)
+ return;
+
+ Base.SendButtonUpdate(Text, RequiredHoldTime, false, IsKnownOwnerHub);
+ }
}
\ No newline at end of file
diff --git a/SecretAPI/Features/UserSettings/CustomDropdownSetting.cs b/SecretAPI/Features/UserSettings/CustomDropdownSetting.cs
index feb3ed0..0a5be43 100644
--- a/SecretAPI/Features/UserSettings/CustomDropdownSetting.cs
+++ b/SecretAPI/Features/UserSettings/CustomDropdownSetting.cs
@@ -111,5 +111,11 @@ protected override void HandleBeforeSettingUpdate()
///
/// Sends an update to that has been updated.
///
- private void SendDropdownUpdate() => Base.SendDropdownUpdate(Options, false, IsKnownOwnerHub);
+ private void SendDropdownUpdate()
+ {
+ if (!IsCurrentlyAccessible)
+ return;
+
+ Base.SendDropdownUpdate(Options, false, IsKnownOwnerHub);
+ }
}
\ No newline at end of file
diff --git a/SecretAPI/Features/UserSettings/CustomPlainTextSetting.cs b/SecretAPI/Features/UserSettings/CustomPlainTextSetting.cs
index dcea8fb..a06a1d9 100644
--- a/SecretAPI/Features/UserSettings/CustomPlainTextSetting.cs
+++ b/SecretAPI/Features/UserSettings/CustomPlainTextSetting.cs
@@ -114,5 +114,11 @@ protected override void HandleBeforeSettingUpdate()
///
/// Sends an update to the that or has changed values.
///
- private void SendPlaintextUpdate() => Base.SendPlaintextUpdate(Placeholder, (ushort)Math.Clamp(CharacterLimit, ushort.MinValue, ushort.MaxValue), ContentType, false, IsKnownOwnerHub);
+ private void SendPlaintextUpdate()
+ {
+ if (!IsCurrentlyAccessible)
+ return;
+
+ Base.SendPlaintextUpdate(Placeholder, (ushort)Math.Clamp(CharacterLimit, ushort.MinValue, ushort.MaxValue), ContentType, false, IsKnownOwnerHub);
+ }
}
\ No newline at end of file
diff --git a/SecretAPI/Features/UserSettings/CustomSetting.cs b/SecretAPI/Features/UserSettings/CustomSetting.cs
index cc78b85..556e9d7 100644
--- a/SecretAPI/Features/UserSettings/CustomSetting.cs
+++ b/SecretAPI/Features/UserSettings/CustomSetting.cs
@@ -414,5 +414,11 @@ private static CustomSetting EnsurePlayerSpecificSetting(Player player, CustomSe
///
/// Sends an update to that or has changed.
///
- private void SendSettingUpdate() => Base.SendUpdate(Label, DescriptionHint, false, IsKnownOwnerHub);
+ private void SendSettingUpdate()
+ {
+ if (!IsCurrentlyAccessible)
+ return;
+
+ Base.SendUpdate(Label, DescriptionHint, false, IsKnownOwnerHub);
+ }
}
\ No newline at end of file
diff --git a/SecretAPI/Features/UserSettings/CustomSliderSetting.cs b/SecretAPI/Features/UserSettings/CustomSliderSetting.cs
index 92cfd49..a15d7bf 100644
--- a/SecretAPI/Features/UserSettings/CustomSliderSetting.cs
+++ b/SecretAPI/Features/UserSettings/CustomSliderSetting.cs
@@ -164,5 +164,11 @@ protected override void HandleBeforeSettingUpdate()
///
/// Sends an update that any of the slider values have been updated.
///
- private void SendSliderUpdate() => Base.SendSliderUpdate(MinimumValue, MaximumValue, UseInteger, ValueToStringFormat, FinalDisplayFormat, false, IsKnownOwnerHub);
+ private void SendSliderUpdate()
+ {
+ if (!IsCurrentlyAccessible)
+ return;
+
+ Base.SendSliderUpdate(MinimumValue, MaximumValue, UseInteger, ValueToStringFormat, FinalDisplayFormat, false, IsKnownOwnerHub);
+ }
}
\ No newline at end of file
diff --git a/SecretAPI/Features/UserSettings/CustomTwoButtonSetting.cs b/SecretAPI/Features/UserSettings/CustomTwoButtonSetting.cs
index 9fae6b9..0ea4843 100644
--- a/SecretAPI/Features/UserSettings/CustomTwoButtonSetting.cs
+++ b/SecretAPI/Features/UserSettings/CustomTwoButtonSetting.cs
@@ -109,5 +109,11 @@ protected override void HandleBeforeSettingUpdate()
///
/// Sends an update to the that or has changed values.
///
- private void SendOptionsUpdate() => Base.SendTwoButtonUpdate(OptionA, OptionB, false, IsKnownOwnerHub);
+ private void SendOptionsUpdate()
+ {
+ if (!IsCurrentlyAccessible)
+ return;
+
+ Base.SendTwoButtonUpdate(OptionA, OptionB, false, IsKnownOwnerHub);
+ }
}
\ No newline at end of file