Browse Source

Merge pull request #143 from js6pak/fix/v6-plugininfo-cache

Fix PluginInfo cache in v6
Bepis 4 years ago
parent
commit
fb7affa64c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      BepInEx.Core/Contract/PluginInfo.cs

+ 2 - 0
BepInEx.Core/Contract/PluginInfo.cs

@@ -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());