Remove nefarious services that use Reflection, and intefere with other plugins.
Remove display of registration for main service.
This commit is contained in:
@@ -247,7 +247,7 @@ This service is provided as-is.
|
||||
ImGui.BeginDisabled(_registrationInProgress || _uiShared.ApiController.ServerState == ServerState.Connecting || _uiShared.ApiController.ServerState == ServerState.Reconnecting);
|
||||
_ = _uiShared.DrawServiceSelection(selectOnChange: true, intro: true);
|
||||
|
||||
if (true) // Enable registration button for all servers
|
||||
if (_serverConfigurationManager.CurrentApiUrl == null || !_serverConfigurationManager.CurrentApiUrl.Equals(ApiController.ClubPenguinServiceUri, StringComparison.Ordinal)) // Enable registration button for all servers
|
||||
{
|
||||
ImGui.BeginDisabled(_registrationInProgress || _registrationSuccess || _secretKey.Length > 0);
|
||||
ImGui.Separator();
|
||||
@@ -297,6 +297,12 @@ This service is provided as-is.
|
||||
ImGui.TextWrapped(_registrationMessage);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ImGui.Separator();
|
||||
UiSharedService.TextWrapped("You must join the discord to register a Club Penguin Sync account on the main server.");
|
||||
UiSharedService.TextWrapped("Use the /signup command to register an account within the discord follow the instructiosn in the #how-to-setup channel.");
|
||||
}
|
||||
|
||||
ImGui.Separator();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user