From e502c4fc8d43850363c2139fc8fbcace72299f31 Mon Sep 17 00:00:00 2001 From: pvvv <168380676+trulyheartless@users.noreply.github.com> Date: Fri, 11 Apr 2025 13:43:05 -0500 Subject: [PATCH] removed unnecessary stuff RobloxPlayerData.cs removed unnecessary using directives (System.Linq, System.Text, System.Threading.Tasks), changed the initialization of PackageDirectoryMap to use string.Empty instead of @"" for clarity, removed the set accessor from PackageDirectoryMap to make it read-only, as it is initialized directly. --- Bloxstrap/AppData/RobloxPlayerData.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Bloxstrap/AppData/RobloxPlayerData.cs b/Bloxstrap/AppData/RobloxPlayerData.cs index bba6cc8..60bec40 100644 --- a/Bloxstrap/AppData/RobloxPlayerData.cs +++ b/Bloxstrap/AppData/RobloxPlayerData.cs @@ -1,8 +1,4 @@ -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Bloxstrap.AppData { @@ -18,9 +14,9 @@ namespace Bloxstrap.AppData public override AppState State => App.RobloxState.Prop.Player; - public override IReadOnlyDictionary PackageDirectoryMap { get; set; } = new Dictionary() + public override IReadOnlyDictionary PackageDirectoryMap { get; } = new Dictionary { - { "RobloxApp.zip", @"" } + { "RobloxApp.zip", string.Empty } }; } }