LabAPI icon indicating copy to clipboard operation
LabAPI copied to clipboard

[IDEA] Add 'isLocalPlayer' Check in 'ServerDeserializeClientResponse' to Prevent Value Received Conflicts

Open CCrous opened this issue 1 year ago • 0 comments

Suggestion

When developing multi-page SpecificSettings with button-triggered page switching, unfiltered ReferenceHub.isLocalPlayer (dedicated server player check) may prevent player inputs from being properly received. This can disrupt the normal workflow of ServerSpecificSettingsSync.ServerOnSettingValueReceived. Recommend implementing ReferenceHub.isLocalPlayer filtering by default in the ServerSpecificSettingsSync.ServerDeserializeClientResponse method to prevent plugin developers from encountering unintended data synchronization conflicts.

CCrous avatar Mar 18 '25 14:03 CCrous