0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-12 16:50:43 -05:00

Fix TransportPrefixPatch

This commit is contained in:
Dev 2023-07-07 13:31:26 +01:00
parent 2a4cc419de
commit 9ac44d3d17

View File

@ -15,7 +15,7 @@ namespace Aki.Core.Patches
{
try
{
var type = PatchConstants.EftTypes.Single(t => t.Name == "Class229");
var type = PatchConstants.EftTypes.Single(t => t.Name == "Class226");
var value = Traverse.Create(type).Field("TransportPrefixes").GetValue<Dictionary<ETransportProtocolType, string>>();
value[ETransportProtocolType.HTTPS] = "http://";
value[ETransportProtocolType.WSS] = "ws://";