mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Fix NRE
This commit is contained in:
@@ -125,7 +125,7 @@ namespace ArchiSteamFarm {
|
||||
|
||||
[JsonProperty]
|
||||
internal string WebProxyPassword {
|
||||
get => WebProxyCredentials.Password;
|
||||
get => WebProxyCredentials?.Password;
|
||||
set {
|
||||
if (string.IsNullOrEmpty(value)) {
|
||||
if (WebProxyCredentials == null) {
|
||||
@@ -160,7 +160,7 @@ namespace ArchiSteamFarm {
|
||||
|
||||
[JsonProperty]
|
||||
internal string WebProxyUsername {
|
||||
get => WebProxyCredentials.UserName;
|
||||
get => WebProxyCredentials?.UserName;
|
||||
set {
|
||||
if (string.IsNullOrEmpty(value)) {
|
||||
if (WebProxyCredentials == null) {
|
||||
|
||||
Reference in New Issue
Block a user