Ported to .NET 8

This commit is contained in:
Anon 2024-12-22 13:20:04 +01:00
parent f83e7c5707
commit 7152072598
3 changed files with 12 additions and 66 deletions

View file

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Timers;
using static MinecraftClient.Settings;
using static MinecraftClient.Settings.MainConfigHelper.MainConfig.AdvancedConfig;
@ -19,7 +18,6 @@ namespace MinecraftClient.Protocol.ProfileKey
private static readonly Dictionary<string, PlayerKeyPair> keys = new();
private static readonly Timer updatetimer = new(100);
private static readonly List<KeyValuePair<string, PlayerKeyPair>> pendingadds = new();
private static readonly BinaryFormatter formatter = new();
/// <summary>
/// Retrieve whether KeysCache contains a keys for the given login.