Fix PluginInfo cache

This commit is contained in:
js6pak committed 2020-10-06 17:56:32 +02:00
1 parent 423aa6fb64
commit 33db23c9f5
1 file changed
+2
+2
View File
@@ -27,6 +27,7 @@ namespace BepInEx
void ICacheable.Save(BinaryWriter bw)
{
bw.Write(TypeName);
bw.Write(Location);
bw.Write(Metadata.GUID);
bw.Write(Metadata.Name);
@@ -53,6 +54,7 @@ namespace BepInEx
void ICacheable.Load(BinaryReader br)
{
TypeName = br.ReadString();
Location = br.ReadString();
Metadata = new BepInPlugin(br.ReadString(), br.ReadString(), br.ReadString());